{
"deposit_session_id": "<string>",
"customer_id": "<string>",
"status": "active",
"allow_multiple_deposits": true,
"expires_at": 123,
"url": "<string>",
"metadata": {},
"created": 123
}{
"code": 123,
"message": "<string>",
"errorCode": "<string>",
"data": null
}{
"code": 123,
"message": "<string>",
"errorCode": "<string>",
"data": null
}{
"code": 123,
"message": "<string>",
"errorCode": "<string>",
"data": null
}充值支付 API
查询客户充值支付
按充值支付 ID 查询当前商户的客户充值支付详情。资源不存在或不属于当前商户时统一返回 404。
充值支付不存在或不属于当前商户时统一返回 404 resource_not_found。
GET
/
api
/
v1
/
customer-deposits
/
{deposit_session_id}
{
"deposit_session_id": "<string>",
"customer_id": "<string>",
"status": "active",
"allow_multiple_deposits": true,
"expires_at": 123,
"url": "<string>",
"metadata": {},
"created": 123
}{
"code": 123,
"message": "<string>",
"errorCode": "<string>",
"data": null
}{
"code": 123,
"message": "<string>",
"errorCode": "<string>",
"data": null
}{
"code": 123,
"message": "<string>",
"errorCode": "<string>",
"data": null
}授权
Bearer API Key,例如 Bearer sk_live_xxx。
Unix 时间戳(秒)。必须与服务端时间相差不超过 5 分钟。
防重放随机字符串,长度 16-64 个字符。
使用商户 API Secret 计算的 HMAC-SHA256 小写 hex 签名。
请求头
Unix 时间戳(秒)。必须与服务端时间相差不超过 5 分钟。
防重放随机字符串,长度 16-64 个字符,建议每次请求使用新的 UUID。
Required string length:
16 - 64使用商户 API Secret 对 {timestamp}.{nonce}.{requestBody} 计算 HMAC-SHA256,结果为小写 hex。GET 请求的 requestBody 为空字符串。
路径参数
充值支付 ID。
Minimum string length:
1响应
查询成功。
充值支付 ID。
StablePay 客户 ID。
充值支付状态。
可用选项:
active, closed, expired 是否允许使用同一个链接多次充值。
过期时间,Unix 秒;永久有效时固定返回 null。
托管收银台 URL。
商户自定义元数据。
Show child attributes
Show child attributes
创建时间,Unix 秒。
最后修改于 2026年10月13日
此页面对您有帮助吗?
