Card Funding
This endpoint is used to fund already issued card
POST
{{base_url}}/business/vcard-fund
Headers
Name
Type
Description
Authorization*
String
SECRET_KEY
Request Body
Name
Type
Description
vcardid*
Sting
Already issued virtual card ID
amount*
Amount to fund the card with
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-fund' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer SECRET_KEY' \
--data '{
"vcardid": "ao022-22e23o-2238-2829d",
"amount": 5
}'
Sample response
{
"status": true,
"responsecode": "01",
"message": "Virtual Card $5 is Processing",
"txref": "0621121102020",
"charged": 6,
"currency": "USD"
}
Last updated
Was this helpful?