List Cardholders
curl --request GET \
--url https://api-sandbox.uqpaytech.com/api/v1/issuing/cardholders \
--header 'x-auth-token: <api-key>'import requests
url = "https://api-sandbox.uqpaytech.com/api/v1/issuing/cardholders"
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', 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",
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"
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")
.header("x-auth-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.uqpaytech.com/api/v1/issuing/cardholders")
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{
"total_pages": 1,
"total_items": 10,
"data": [
{
"cardholder_id": "7c4ff2cd-1bf6-4aaa-bf16-266771425011",
"email": "demo@example.com",
"number_of_cards": 1,
"first_name": "Emily",
"last_name": "Toy",
"create_time": "2024-05-09 15:52:23",
"cardholder_status": "SUCCESS",
"date_of_birth": "1990-01-01",
"country_code": "SG",
"phone_number": "86683306",
"gender": "MALE",
"nationality": "SG",
"residential_address": {
"country": "SG",
"city": "Singapore",
"line1": "9 N Buona Vista Dr",
"state": "Singapore",
"district": "Buona Vista",
"line2": "THE METROPOLIS",
"line_en": "9 N Buona Vista Dr, THE METROPOLIS",
"postal_code": "138666"
},
"review_status": "SUCCESS",
"idv_verification_url": "https://idv.sumsub.com/verify/abc123",
"idv_url_expires_at": "2026-04-10T10:00:00+08:00"
}
]
}Cardholders
List Cardholders
返回签发持卡人对象的列表。对象按创建时间降序排列,最近创建的对象排在最前。
GET
/
v1
/
issuing
/
cardholders
List Cardholders
curl --request GET \
--url https://api-sandbox.uqpaytech.com/api/v1/issuing/cardholders \
--header 'x-auth-token: <api-key>'import requests
url = "https://api-sandbox.uqpaytech.com/api/v1/issuing/cardholders"
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', 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",
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"
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")
.header("x-auth-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.uqpaytech.com/api/v1/issuing/cardholders")
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{
"total_pages": 1,
"total_items": 10,
"data": [
{
"cardholder_id": "7c4ff2cd-1bf6-4aaa-bf16-266771425011",
"email": "demo@example.com",
"number_of_cards": 1,
"first_name": "Emily",
"last_name": "Toy",
"create_time": "2024-05-09 15:52:23",
"cardholder_status": "SUCCESS",
"date_of_birth": "1990-01-01",
"country_code": "SG",
"phone_number": "86683306",
"gender": "MALE",
"nationality": "SG",
"residential_address": {
"country": "SG",
"city": "Singapore",
"line1": "9 N Buona Vista Dr",
"state": "Singapore",
"district": "Buona Vista",
"line2": "THE METROPOLIS",
"line_en": "9 N Buona Vista Dr, THE METROPOLIS",
"postal_code": "138666"
},
"review_status": "SUCCESS",
"idv_verification_url": "https://idv.sumsub.com/verify/abc123",
"idv_url_expires_at": "2026-04-10T10:00:00+08:00"
}
]
}授权
由 UQPay 提供的登录 API Token。
请求头
指定代表哪个子账户发起请求。应设置为 account_id,该值可通过 List Connected Accounts 接口获取。若省略或为空,则请求以主账户身份执行。
更多信息参见 关联账户。
查询参数
每页返回的最大条目数。取值范围为 10 - 100,默认为 10。
必填范围:
10 <= x <= 100用于获取下一组条目的页码。取值必须大于 1,默认为 1。
必填范围:
x >= 1按指定持卡人状态检索条目。未指定时匹配任意持卡人状态。
可用选项:
PENDING, SUCCESS, INCOMPLETE, FAILED 示例:
"PENDING"
⌘I

