Create a customer account
Changed onThis Api helps to create a virtual card customer account
post/profile/customers
Request
- Base URLhttps://sandboxapi.fincra.com
- AuthAPI key in header api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
200
Example response
{
"success": true,
"message": "Customer created successfully",
"data": {
"isActive": true,
"phone": {
"countryCode": "+234",
"number": "08142986562",
"_id": "639910de41664f80e1eedb20"
},
"address": {
"country": "NG",
"state": "Lagos State",
"zip": "100000",
"city": "Amuwo",
"street": "No 4 Babawa Street",
"_id": "639910de41664f41a1eedb21"
},
"_id": "639910de41664fdaf9eedb1f",
"identifier": "Tq",
"business": "63408b05cb018460343c52de",
"email": "taofeek2suree@gmail.com",
"firstName": "Harry",
"lastName": "Attat",
"dob": "Wed Oct 10 1990 00:00:00 GMT+0000 (Coordinated Universal Time)",
"documents": [
{
"image": "https://wiki.nimc.gov.ng/mobile_userguide/pins_female.png",
"type": "passport",
"number": "A08511194",
"issuedCountryCode": "NG",
"issuedDate": "2022-10-10T00:00:00.000Z",
"expirationDate": "2027-10-10T00:00:00.000Z",
"_id": "639910de41664f3695eedb22"
}
],
"cid": "60febd3c-157a-4ae4-aeed-863c5530ec42",
"createdAt": "2022-12-13T23:55:10.566Z",
"updatedAt": "2022-12-13T23:55:10.566Z"
}
}Changes
- info
endpoint added
- info