Skip to main content

Overview

Create cardholder information for your account.

Create Cardholder

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"
}'
FieldsDescription
last_nameCardholder's last name
first_nameCardholder's first name
emailCardholder's email
phoneCardholder's phone number
phone_area_codePhone country code
default_cardholderDefault cardholder. Each account can have only one default cardholder.
  • 0: Not the default cardholder
  • 1: Default cardholder
{
"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.