curl 'https://api.sandbox.uqpay.org/api/v1/cardholders/05618fcd-ba44-4933-8f80-046a32f18399' \
-H 'x-auth-token: Bearer 0e043e2ec6898b3220a0921466d7c203' \
-H 'x-client-id: Up1HIsjiETPXLy7gON9PMG'
{
"code": 200,
"message": "Success",
"data": {
"card_holder_id": "05618fcd-ba44-4933-8f80-046a32f18399",
"email": "[email protected]",
"first_name": "hello",
"last_name": "world",
"date_birth": "2023-09-28T00:00:00+08:00",
"phone_number": "93_1564815641848",
"residential_address": "{\"country\":\"BB\",\"state\":\"wed\",\"city\":\"ewd\",\"zip_code\":\"ewd\",\"address\":\"ewdewd\"}",
"delivery_address": "",
"create_time": "2023-09-28T15:04:44+08:00",
"update_time": "2023-09-28T15:04:44+08:00",
"card_holder_status": "SUCCESS"
}
}
This endpoint retrieve cardholder details by cardholder id.
curl 'https://api.sandbox.uqpay.org/api/v1/cardholders/05618fcd-ba44-4933-8f80-046a32f18399' \
-H 'x-auth-token: Bearer 0e043e2ec6898b3220a0921466d7c203' \
-H 'x-client-id: Up1HIsjiETPXLy7gON9PMG'
{
"code": 200,
"message": "Success",
"data": {
"card_holder_id": "05618fcd-ba44-4933-8f80-046a32f18399",
"email": "[email protected]",
"first_name": "hello",
"last_name": "world",
"date_birth": "2023-09-28T00:00:00+08:00",
"phone_number": "93_1564815641848",
"residential_address": "{\"country\":\"BB\",\"state\":\"wed\",\"city\":\"ewd\",\"zip_code\":\"ewd\",\"address\":\"ewdewd\"}",
"delivery_address": "",
"create_time": "2023-09-28T15:04:44+08:00",
"update_time": "2023-09-28T15:04:44+08:00",
"card_holder_status": "SUCCESS"
}
}
x-client-id.YOUR_TOKEN_HERE.Hide details
curl 'https://api.sandbox.uqpay.org/api/v1/cardholders/05618fcd-ba44-4933-8f80-046a32f18399' \
-H 'x-auth-token: Bearer 0e043e2ec6898b3220a0921466d7c203' \
-H 'x-client-id: Up1HIsjiETPXLy7gON9PMG'
{
"code": 200,
"message": "Success",
"data": {
"card_holder_id": "05618fcd-ba44-4933-8f80-046a32f18399",
"email": "[email protected]",
"first_name": "hello",
"last_name": "world",
"date_birth": "2023-09-28T00:00:00+08:00",
"phone_number": "93_1564815641848",
"residential_address": "{\"country\":\"BB\",\"state\":\"wed\",\"city\":\"ewd\",\"zip_code\":\"ewd\",\"address\":\"ewdewd\"}",
"delivery_address": "",
"create_time": "2023-09-28T15:04:44+08:00",
"update_time": "2023-09-28T15:04:44+08:00",
"card_holder_status": "SUCCESS"
}
}