Cards Details
This endpoint is used to get details of a card without full card number
POST
{{base_url}}/business/carddetails
Headers
Name
Type
Description
Authorization*
String
SECRET_KEY
Request Body
Name
Type
Description
cardid*
Sting
Card ID
Your secret keys are to be kept confidential and stored only 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/carddetails' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer SECRET_KEY' \
--data '{
"cardid": "021109a9-4bfa-4321-02ca-dc91e9a7b4"
}'
Sample response
{
"status": true,
"message": "Card details retrieved",
"responsecode": "01",
"available_bal": "612,304.27",
"usericon": "https://oacloud.oneappgo.com/media_library/oneapp-personal/65b0dc7a31f253.37195213.png",
"cardstatus": "active",
"cardbrand": "VERVE",
"cardtype": "Physical",
"cardpan": "583007********0000",
"expiryyr": "27",
"expirymonth": "06",
"cvv": "",
"holdername": "John Doe",
"customerid": "01057-e48b-4e45-ddc1-0c91ec1988",
"card_id": "021109a9-4bfa-4321-02ca-dc91e9a7b4",
"currency": "USD",
"created_at": "Sat, 22-06-2024 09:08 pm",
"lastupdate": "Sat, 22-06-2024 09:08 pm",
"dstatus": "1",
"defaultpin": "0000"
}
Last updated
Was this helpful?