curl --request GET \
--url https://api-sandbox.uqpaytech.com/api/v1/issuing/cards/{id} \
--header 'x-auth-token: <api-key>'import requests
url = "https://api-sandbox.uqpaytech.com/api/v1/issuing/cards/{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/cards/{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/cards/{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/cards/{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/cards/{id}")
.header("x-auth-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.uqpaytech.com/api/v1/issuing/cards/{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{
"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",
"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_status": "PENDING",
"idv_verification_url": "https://idv.sumsub.com/verify/abc123",
"idv_url_expires_at": "2026-04-10T10:00:00+08:00"
},
"no_pin_payment_amount": "2000USD",
"card_status": "ACTIVE",
"card_currency": "USD",
"card_product_id": "3bd1656b-e691-4aab-a76a-3ead39e7a6f6",
"spending_controls": [
{
"amount": "100.03",
"interval": "PER_TRANSACTION"
}
],
"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"
}Retrieve Card
查询你此前签发的某张卡片的详细信息。响应中不返回卡片的敏感信息。
curl --request GET \
--url https://api-sandbox.uqpaytech.com/api/v1/issuing/cards/{id} \
--header 'x-auth-token: <api-key>'import requests
url = "https://api-sandbox.uqpaytech.com/api/v1/issuing/cards/{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/cards/{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/cards/{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/cards/{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/cards/{id}")
.header("x-auth-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.uqpaytech.com/api/v1/issuing/cards/{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{
"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",
"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_status": "PENDING",
"idv_verification_url": "https://idv.sumsub.com/verify/abc123",
"idv_url_expires_at": "2026-04-10T10:00:00+08:00"
},
"no_pin_payment_amount": "2000USD",
"card_status": "ACTIVE",
"card_currency": "USD",
"card_product_id": "3bd1656b-e691-4aab-a76a-3ead39e7a6f6",
"spending_controls": [
{
"amount": "100.03",
"interval": "PER_TRANSACTION"
}
],
"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 接口获取。若省略或为空,则请求以主账户身份执行。
更多信息参见 关联账户。
路径参数
资源的全局唯一标识符(UUID v4)。
"71fdb0fe-9682-457a-9361-e8868694f12f"
响应
成功获取卡片。
卡片的唯一标识符。
"c0cef051-29c5-4796-b86a-cd5b684bfad7"
卡号前缀(BIN)。
"40963608"
卡组织。
"VISA"
脱敏卡号
"************5668"
卡片形态——VIRTUAL 或 PHYSICAL,目前仅支持虚拟卡。
VIRTUAL, PHYSICAL "VIRTUAL"
模式类型枚举 - SINGLE 或 SHARE。
SINGLE- 单卡仅支持预付模式。SHARE- 共享卡可支持借记模式,即关联借记产品和账户。
SHARE, SINGLE "SHARE"
可用余额,币种参见 card_currency。
2000.05
Show child attributes
Show child attributes
无需 PIN 验证即可进行卡交易的允许金额,包含币种单位(如 2000USD)。此响应字段应与对应的请求参数区分开,后者指定的金额不含币种单位。
"2000USD"
卡片状态枚举。更多信息参见卡生命周期与状态指南。
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"
卡币种。
SGD, USD, XUSD "USD"
卡产品的唯一标识符。
"3bd1656b-e691-4aab-a76a-3ead39e7a6f6"
控制该卡片消费的规则。
Show child attributes
Show child attributes
嵌入在卡片响应对象中的 ASAF Network Protection 状态。仅 Visa 卡片返回。
Show child attributes
Show child attributes
任意键值对象。最大长度 = 3200 字节。必须是有效的 JSON 数据。
Show child attributes
Show child attributes
{ "key1": "value1", "key2": "value2" }
更新卡片状态的原因。
100反映卡限额中已使用的累计金额。
"51.00"

