Parameters
First name of the cardholder.
Maximum length 50
Last name of the cardholder.
Maximum length 50
Date birth of the cardholder.
Format: YYYY-MM-DD
Phone number of the cardholder.
Maximum length 50
Residential address of the cardholder.
Delivery address of the cardholder.
Status of cardholder.
-1=FAILED, 0-PENDING, 1-SUCCESS, 2-INCOMPLETE
Response
Indicates whether the call was successful. 200 if successful, 400 if not.
Response Message. “Success” if successful, others not.
The id of the cardholder for the card.
curl 'https://api.sandbox.uqpay.org/api/v1/cardholders/create' \
-H 'content-type: application/json' \
-H 'x-auth-token: Bearer 0e043e2ec6898b3220a0921466d7c203' \
-H 'x-client-id: Up1HIsjiETPXLy7gON9PMG' \
--data-raw '{"email":"[email protected] ","phone_number":"373_486188426","first_name":"Emily","last_name":"Johnson","date_birth":"2023-07-12","card_holder_status":1,"residential_address":"uqpay"}'
{
"code" : 200 ,
"message" : "Success" ,
"data" : {
"card_holder_id" : "8c1c03ac-c0fa-44d9-9606-38cb41776d32"
}
}