curl --request GET \
--url https://api-sandbox.uqpaytech.com/api/v1/issuing/cardholders/{id} \
--header 'x-auth-token: <api-key>'import requests
url = "https://api-sandbox.uqpaytech.com/api/v1/issuing/cardholders/{id}"
headers = {"x-auth-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-auth-token': '<api-key>'}};
fetch('https://api-sandbox.uqpaytech.com/api/v1/issuing/cardholders/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-sandbox.uqpaytech.com/api/v1/issuing/cardholders/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-auth-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-sandbox.uqpaytech.com/api/v1/issuing/cardholders/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-auth-token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-sandbox.uqpaytech.com/api/v1/issuing/cardholders/{id}")
.header("x-auth-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.uqpaytech.com/api/v1/issuing/cardholders/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-auth-token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"cardholder_id": "7d6a7ba0-28b7-4f2d-99cb-05e4286bd0dc",
"first_name": "Contract",
"last_name": "Regression",
"date_of_birth": "0001-01-01",
"email": "updated-8d95ee6f-3638-4f7d-9eb9-459d105fa830@example.com",
"country_code": "US",
"nationality": "",
"gender": "",
"phone_number": "2025550100",
"delivery_address": null,
"cardholder_status": "SUCCESS",
"review_status": "SUCCESS",
"create_time": "2026-09-10 09:38:07",
"number_of_cards": 0
}Retrieve Cardholder
通过 cardholder_id 查询持卡人资料和状态。向已有持卡人发卡时,使用该 ID。
curl --request GET \
--url https://api-sandbox.uqpaytech.com/api/v1/issuing/cardholders/{id} \
--header 'x-auth-token: <api-key>'import requests
url = "https://api-sandbox.uqpaytech.com/api/v1/issuing/cardholders/{id}"
headers = {"x-auth-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-auth-token': '<api-key>'}};
fetch('https://api-sandbox.uqpaytech.com/api/v1/issuing/cardholders/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-sandbox.uqpaytech.com/api/v1/issuing/cardholders/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-auth-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-sandbox.uqpaytech.com/api/v1/issuing/cardholders/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-auth-token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-sandbox.uqpaytech.com/api/v1/issuing/cardholders/{id}")
.header("x-auth-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.uqpaytech.com/api/v1/issuing/cardholders/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-auth-token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"cardholder_id": "7d6a7ba0-28b7-4f2d-99cb-05e4286bd0dc",
"first_name": "Contract",
"last_name": "Regression",
"date_of_birth": "0001-01-01",
"email": "updated-8d95ee6f-3638-4f7d-9eb9-459d105fa830@example.com",
"country_code": "US",
"nationality": "",
"gender": "",
"phone_number": "2025550100",
"delivery_address": null,
"cardholder_status": "SUCCESS",
"review_status": "SUCCESS",
"create_time": "2026-09-10 09:38:07",
"number_of_cards": 0
}授权
由 UQPAY 提供的登录 API Token。
请求头
指定代表哪个子账户发起请求。应设置为 account_id,该值可通过 List Connected Accounts 接口获取。若省略或为空,则请求以主账户身份执行。
更多信息参见 关联账户。
路径参数
资源的全局唯一标识符(UUID v4)。
"71fdb0fe-9682-457a-9361-e8868694f12f"
响应
成功获取持卡人。
持卡人的唯一标识符。
"7c4ff2cd-1bf6-4aaa-bf16-266771425011"
持卡人的电子邮箱地址。
"demo@example.com"
与持卡人关联的卡片总数,包含所有状态。
1
该持卡人的名字。激活卡片前必填。此字段不能包含任何数字、特殊字符(句点、逗号、连字符、空格和撇号除外)或非拉丁字母。
"Emily"
该持卡人的姓氏。激活卡片前必填。此字段不能包含任何数字、特殊字符(句点、逗号、连字符、空格和撇号除外)或非拉丁字母。
"Toy"
对象的创建时间。
"2024-05-09 15:52:23"
持卡人的状态。
FAILED, PENDING, SUCCESS, INCOMPLETE 持卡人的出生日期,格式为 yyyy-mm-dd。持卡人须年满 18 周岁且未满 80 周岁。
"1990-01-01"
持卡人的性别。空字符串表示未提供。
MALE, FEMALE, 持卡人的国籍。空字符串表示未提供。
2"SG"
持卡人已收集的居住地址。尚未收集的字段可能省略。持卡人状态为成功不代表所有地址字段均已提供。开卡所需资料以所选产品的 required_fields 为准。
Show child attributes
Show child attributes
持卡人的审核状态。
SUCCESS, FAILED, PENDING "SUCCESS"
IDV 验证状态。在适用时返回。
PENDING- IDV 待处理。PASSED- IDV 通过。FAILED- IDV 失败。
PENDING, PASSED, FAILED IDV 验证 URL。在适用时返回。
"https://idv.sumsub.com/verify/abc123"
IDV 验证 URL 的过期时间,RFC 3339 格式。
"2026-04-10T10:00:00+08:00"

