Create Card Account
This endpoint is used to create an account for a customer issuing a card. A customer tracking is returned which can be used for card issuance/creation.
POST
{{base_url}}/business/createcard-customer
Headers
Name
Type
Description
Authorization*
String
SECRET_KEY
Request Body
Name
Type
Description
first_name*
Sting
Customer first name e.g John
last_name*
String
Customer lastname e.g Doe
phone_number*
String
Customer mobile number e.g 07012345689
address*
Object
Check sample request below
bvnno*
String
21345678900
identity*
Object
Check sample request below
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/createcard-customer' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer SECRET_KEY' \
--data-raw '{
"first_name": "John",
"last_name": "Doe",
"phone_number": "07012345678",
"bvnno": "20123456780",
"email_address": "[email protected]",
"address": {
"house_no": "5",
"street": "queen Estate, Alen road",
"city": "Ikeja",
"state": "Lagos State",
"country": "Nigeria",
"postal_code": "2323"
},
"identity": {
"idtype": "National identity",
"idno": "24H675B9084",
"idurl": "https://res.cloudinary.com/site/image/upload/v1714257348/idcard2.png",
"issuance_country": "Nigeria"
}
}'
Sample response
{
"status": true,
"responsecode": "01",
"message": "Card account successfully created for John Doe",
"trackid": "06211211"
}
Last updated
Was this helpful?