List Cards
curl --request GET \
--url https://api-sandbox.uqpaytech.com/api/v1/issuing/cards \
--header 'x-auth-token: <api-key>'import requests
url = "https://api-sandbox.uqpaytech.com/api/v1/issuing/cards"
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/cards', 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/cards",
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/cards"
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/cards")
.header("x-auth-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.uqpaytech.com/api/v1/issuing/cards")
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": [
{
"card_id": "c0cef051-29c5-4796-b86a-cd5b684bfad7",
"card_bin": "40963608",
"card_scheme": "VISA",
"card_number": "************5668",
"form_factor": "VIRTUAL",
"mode_type": "SHARE",
"card_limit": 2100.02,
"available_balance": 2000.05,
"cardholder": {
"cardholder_id": "7c4ff2cd-1bf6-4aaa-bf16-266771425011",
"cardholder_status": "SUCCESS",
"create_time": "2024-05-09 15:52:23",
"email": "demo@example.com",
"first_name": "Emily",
"last_name": "Toy"
},
"card_status": "ACTIVE",
"card_currency": "USD",
"card_product_id": "3bd1656b-e691-4aab-a76a-3ead39e7a6f6",
"risk_controls": {
"enable_3ds": "Y",
"allow_3ds_transactions": "Y",
"allowed_mcc": null,
"blocked_mcc": [
"5999",
"6011"
],
"allowed_merchants": [
"10000668",
"10000418"
],
"blocked_merchants": [
"10000668",
"10000418"
]
},
"network_protection": {
"enabled": true,
"card_scheme": "VISA",
"action_code": "41",
"definition": "Lost card, pickup",
"status": "ENROLL_PENDING",
"submitted_time": "2026-05-14T09:00:00Z"
},
"metadata": {
"key1": "value1",
"key2": "value2"
},
"update_reason": "<string>",
"consumed_amount": "51.00"
}
]
}Card Lifecycle
List Cards
返回签发卡片对象的列表。对象按创建时间降序排列,最近创建的对象排在最前。
GET
/
v1
/
issuing
/
cards
List Cards
curl --request GET \
--url https://api-sandbox.uqpaytech.com/api/v1/issuing/cards \
--header 'x-auth-token: <api-key>'import requests
url = "https://api-sandbox.uqpaytech.com/api/v1/issuing/cards"
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/cards', 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/cards",
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/cards"
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/cards")
.header("x-auth-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.uqpaytech.com/api/v1/issuing/cards")
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": [
{
"card_id": "c0cef051-29c5-4796-b86a-cd5b684bfad7",
"card_bin": "40963608",
"card_scheme": "VISA",
"card_number": "************5668",
"form_factor": "VIRTUAL",
"mode_type": "SHARE",
"card_limit": 2100.02,
"available_balance": 2000.05,
"cardholder": {
"cardholder_id": "7c4ff2cd-1bf6-4aaa-bf16-266771425011",
"cardholder_status": "SUCCESS",
"create_time": "2024-05-09 15:52:23",
"email": "demo@example.com",
"first_name": "Emily",
"last_name": "Toy"
},
"card_status": "ACTIVE",
"card_currency": "USD",
"card_product_id": "3bd1656b-e691-4aab-a76a-3ead39e7a6f6",
"risk_controls": {
"enable_3ds": "Y",
"allow_3ds_transactions": "Y",
"allowed_mcc": null,
"blocked_mcc": [
"5999",
"6011"
],
"allowed_merchants": [
"10000668",
"10000418"
],
"blocked_merchants": [
"10000668",
"10000418"
]
},
"network_protection": {
"enabled": true,
"card_scheme": "VISA",
"action_code": "41",
"definition": "Lost card, pickup",
"status": "ENROLL_PENDING",
"submitted_time": "2026-05-14T09:00:00Z"
},
"metadata": {
"key1": "value1",
"key2": "value2"
},
"update_reason": "<string>",
"consumed_amount": "51.00"
}
]
}授权
由 UQPAY 提供的登录 API Token。
请求头
指定代表哪个子账户发起请求。应设置为 account_id,该值可通过 List Connected Accounts 接口获取。若省略或为空,则请求以主账户身份执行。
更多信息参见 关联账户。
查询参数
每页返回的最大条目数。取值范围为 10 - 100,默认为 10。
必填范围:
10 <= x <= 100用于获取下一组条目的页码。取值必须大于 1,默认为 1。
必填范围:
x >= 1完整卡号。
示例:
"4096360811214526"
按指定卡片状态检索条目。未指定时匹配任意卡片状态。 卡片状态枚举。更多信息参见卡生命周期与状态指南。
PENDING:创建卡片的请求已收到,正在审核中。ACTIVE:创建卡片的请求成功,卡片可以使用。FROZEN:所有进入的授权请求都将被拒绝。卡片可以重新激活以接受新的授权。BLOCKED:因可疑活动,卡片被 UQPAY 锁定。PRE_CANCEL:卡片已被安排注销,处于等待期,期间所有进入的授权请求都将被拒绝。等待期结束后转为CANCELLED。CANCELLED:卡片无法再从此状态重新激活,所有进入的授权请求都将被永久拒绝。LOST:卡片已向 UQPAY 报失。STOLEN:卡片已向 UQPAY 报被盗。FAILED:使用 创建卡片 创建卡片的请求失败。
可用选项:
PENDING, ACTIVE, FROZEN, BLOCKED, PRE_CANCEL, CANCELLED, LOST, STOLEN, FAILED 示例:
"ACTIVE"
持卡人的唯一标识符。
示例:
"7c4ff2cd-1bf6-4aaa-bf16-266771425011"

