Update Card User
https://sandboxapi.bitnob.co/api/v1/virtualcards/users/{card_user_id} (opens in a new tab)
You can update card user information
Body Parameters
| Parameter | type |
|---|---|
| customerEmail | string |
| idNumber (ID number of the customer's KYC document) | string |
idType (type of ID e.g BVN, NIN, PASSPORT ) | string |
| firstName | string |
| lastName | string |
| country (Country name ) | string |
| phoneNumber (Customer's phone number ) | string |
| city (Customer's city address ) | string |
| state (Customer's state address ) | string |
| zipCode (Customer's zipcode ) | string |
| line1 (Customer's line1 address ) | string |
| houseName (Customer's house name ) | string |
| bvn (BVN number, required if customer is Nigerian ) | string |
| userPhoto (Can be same as idImage) | string |
dateOfBirth yyyy-mm-dd | date |
| idImage | string |
cardId (Card Id of the user optional) | string |
Request
Virtual Cards/Update card user [PUT]
curl --request PUT \
--url https://sandboxapi.bitnob.co/api/v1/virtualcards/users/{card_user_id} \
--header 'Authorization: Bearer API_KEY' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"customerEmail": "string",
"idNumber": "string",
"idType": "string",
"firstName": "string",
"lastName": "string",
"phoneNumber": "string",
"city": "string",
"state": "string",
"country": "string",
"zipCode": "string",
"line1": "string",
"houseName": "string",
"idImage": "string",
"bvn": "string",
"userPhoto": "string",
"dateOfBirth": "2024-06-28",
"cardId":"string",
}
'