检查转账完成状态
GET
/api/v1/transfer/query/orders/{bizId}/completedHMAC返回指定转账订单是否已到达终态。
请求头
| Name | Type | Required | Description |
|---|---|---|---|
X-Api-Key | string | Yes | API 密钥标识符 |
X-Signature | string | Yes | HMAC-SHA256 签名 |
X-Timestamp | string | Yes | Unix 时间戳(秒) |
X-Nonce | string | Yes | 唯一请求标识符(UUID) |
路径参数
| Name | Type | Required | Description |
|---|---|---|---|
bizId | string | Yes | 业务 ID |
请求示例
curl -X GET https://api.slaunchx.cc/api/v1/transfer/query/orders/<bizId>/completed \
-H "X-Api-Key: sk_live_xxx" \
-H "X-Signature: <computed_signature>" \
-H "X-Timestamp: 1709337600" \
-H "X-Nonce: 550e8400-e29b-41d4-a716-446655440000"响应
成功200
{
"version": "1.3.0",
"timestamp": 1709337600000,
"success": true,
"code": 2000,
"message": "string"
}