Overview
Create cardholder information for your account.
Create Cardholder
- Resquest
cURL -X POST /card-api/v1/cardholders/create
-H 'Content-Type: application/json'
-H 'Authorization: {token}'
-d '{
"last_name": "test",
"first_name": "test",
"email": "test@gmail.com",
"phone": "13800000000",
"phone_area_code": "+86"
}'
| Fields | Description |
|---|---|
| last_name | Cardholder's last name |
| first_name | Cardholder's first name |
| Cardholder's email | |
| phone | Cardholder's phone number |
| phone_area_code | Phone country code |
| default_cardholder | Default cardholder. Each account can have only one default cardholder.
|
- Responses
{
"code": "200",
"msg": "Success",
"trace_id": "a1ebb8d701ea45a098c8e1f3cdaeabb0",
"data": {
"card_holder_id": 1955930998425718784,
"default_cardholder": 1
}
}
After successfully creating a cardholder, use the card_holder_id to view or update the cardholder information.