Cards Pan
This endpoint is used to get details of a card with full card number and cvv
POST
{{base_url}}/business/vcard-pan
Headers
Name
Type
Description
Authorization*
String
SECRET_KEY
Request Body
Name
Type
Description
cardid*
Sting
Card ID
Your secret keys are to be kept secret and only stored on your servers. Do not pass your secret key to the front-end language where it can be exploited.
Take a look at how you might do this:
curl --location '{{base_url}}/business/vcard-pan' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer SECRET_KEY' \
--data '{
"cardid": "021109a9-4bfa-4321-02ca-dc91e9a7b4"
}'
Sample response
{
"status": true,
"msg": "Card info retrieved",
"exist": true,
"responsecode": "01",
"cardnumber": "583310035580000",
"cvv": "915",
"expiryyr": "27",
"expirymnt": "06",
"current_bal": 112.27,
"available_bal": 112.27,
"cardstatus": true
}
Last updated
Was this helpful?