API Test Keys
Fetch Card Reference Number Using Razorpay Token
POST
/v1/cards/fingerprints
Click to copy
Use this endpoint to retrieve the card reference number for a specific card using Razorpay token.
Is this page helpful?
Curl
change language
change language
1curl -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \2-X POST https://api.razorpay.com/v1/cards/fingerprints \3-H "content-type: application/json" \4-d '{5"token": "token_4lsdksD31GaZ09"6}'
Success - Rupay
Success - Visa and MC
1{2"provider": "RuPay",3"payment_account_reference": null,4"network_reference_id": "1001381923137653903323591234sdfds90"5}
Request Parameters
token
*
string
The token whose PAR or network reference id should be retrieved.
Response Parameters
network
string
The card network. Possible values:
Mastercard
RuPay
Visa
payment_account_reference
string
The 29-character unique identifier for Mastercard and Visa cards. For RuPay cards, the value is null
.
network_reference_id
string
The unique identifier generated for RuPay cards.
Fetch Card Reference Number Using Razorpay Token
POST
/v1/cards/fingerprints
Click to copy
Use this endpoint to retrieve the card reference number for a specific card using Razorpay token.
Is this page helpful?
Request Parameters
token
*
string
The token whose PAR or network reference id should be retrieved.
Response Parameters
network
string
The card network. Possible values:
Mastercard
RuPay
Visa
payment_account_reference
string
The 29-character unique identifier for Mastercard and Visa cards. For RuPay cards, the value is null
.
network_reference_id
string
The unique identifier generated for RuPay cards.
Curl
change language
change language
1curl -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \2-X POST https://api.razorpay.com/v1/cards/fingerprints \3-H "content-type: application/json" \4-d '{5"token": "token_4lsdksD31GaZ09"6}'
Success - Rupay
Success - Visa and MC
1{2"provider": "RuPay",3"payment_account_reference": null,4"network_reference_id": "1001381923137653903323591234sdfds90"5}