curl --request GET \
--url "https://api.stablepay.co/api/v1/fund/account_transfers/{account_transfer_id}" \
--header "Authorization: Bearer <API_KEY>" \
--header "X-StablePay-Timestamp: <TIMESTAMP>" \
--header "X-StablePay-Nonce: <NONCE>" \
--header "X-StablePay-Signature: <SIGNATURE>"
const response = await fetch("https://api.stablepay.co/api/v1/fund/account_transfers/{account_transfer_id}", {
method: "GET",
headers: {
"Authorization": "Bearer <API_KEY>",
"X-StablePay-Timestamp": "<TIMESTAMP>",
"X-StablePay-Nonce": "<NONCE>",
"X-StablePay-Signature": "<SIGNATURE>"
}
});
console.log(await response.json());
{
"account_transfer_id": "9000000034",
"merchant_id": "2000000001",
"currency": "USDC",
"amount": 500000,
"source_account_no": "00000001",
"target_account_no": "00000002",
"status": "completed",
"created": 1718726401
}
全球账户 API
查询账户划转
查询账户划转
GET
/
api
/
v1
/
fund
/
account_transfers
/
{account_transfer_id}
curl --request GET \
--url "https://api.stablepay.co/api/v1/fund/account_transfers/{account_transfer_id}" \
--header "Authorization: Bearer <API_KEY>" \
--header "X-StablePay-Timestamp: <TIMESTAMP>" \
--header "X-StablePay-Nonce: <NONCE>" \
--header "X-StablePay-Signature: <SIGNATURE>"
const response = await fetch("https://api.stablepay.co/api/v1/fund/account_transfers/{account_transfer_id}", {
method: "GET",
headers: {
"Authorization": "Bearer <API_KEY>",
"X-StablePay-Timestamp": "<TIMESTAMP>",
"X-StablePay-Nonce": "<NONCE>",
"X-StablePay-Signature": "<SIGNATURE>"
}
});
console.log(await response.json());
{
"account_transfer_id": "9000000034",
"merchant_id": "2000000001",
"currency": "USDC",
"amount": 500000,
"source_account_no": "00000001",
"target_account_no": "00000002",
"status": "completed",
"created": 1718726401
}
完整认证、签名、数据约定与错误响应。每次重试均须重新生成时间戳、nonce 与签名。
GET /fund/account_transfers/{account_transfer_id} 按划转 ID 或业务参考号返回单条划转。
请求头
string
必填
Bearer API Key。
string
必填
Unix 秒,允许与服务端相差最多 5 分钟。
string
必填
每次请求唯一的随机串,16–64 字符。
string
必填
HMAC-SHA256 签名,小写十六进制;签名必须对应实际发送的请求体。
请求参数
string
必填
划转 ID,10 位数字
string
10 位数字;商户 App 不传,服务商 App 传值指定作用商户
string
按业务参考号查询
响应
string
必填
划转 ID,10 位数字
string
必填
商户 ID
string
业务参考号
string
必填
币种
integer
必填
划转金额
string
必填
转出账户
string
必填
转入账户
string
必填
completed
integer
必填
创建时间
状态与错误
404 划转不存在或不属于目标商户。curl --request GET \
--url "https://api.stablepay.co/api/v1/fund/account_transfers/{account_transfer_id}" \
--header "Authorization: Bearer <API_KEY>" \
--header "X-StablePay-Timestamp: <TIMESTAMP>" \
--header "X-StablePay-Nonce: <NONCE>" \
--header "X-StablePay-Signature: <SIGNATURE>"
const response = await fetch("https://api.stablepay.co/api/v1/fund/account_transfers/{account_transfer_id}", {
method: "GET",
headers: {
"Authorization": "Bearer <API_KEY>",
"X-StablePay-Timestamp": "<TIMESTAMP>",
"X-StablePay-Nonce": "<NONCE>",
"X-StablePay-Signature": "<SIGNATURE>"
}
});
console.log(await response.json());
{
"account_transfer_id": "9000000034",
"merchant_id": "2000000001",
"currency": "USDC",
"amount": 500000,
"source_account_no": "00000001",
"target_account_no": "00000002",
"status": "completed",
"created": 1718726401
}
最后修改于 2026年10月29日
此页面对您有帮助吗?
