根据订阅 ID 获取订阅详情,可通过 expand 展开关联对象。
Documentation Index
Fetch the complete documentation index at: https://docs.stablepayfi.ai/llms.txt
Use this file to discover all available pages before exploring further.
Bearer API Key,例如 Bearer sk_live_xxx。
Unix 时间戳(秒)。必须与服务端时间相差不超过 5 分钟。
防重放随机字符串,长度 16-64 个字符,建议每次请求使用新的 UUID。
使用商户 API Secret 对 {timestamp}.{nonce}.{requestBody} 计算 HMAC-SHA256,结果为小写 hex。GET 请求的 requestBody 为空字符串。
Unix 时间戳(秒)。必须与服务端时间相差不超过 5 分钟。
防重放随机字符串,长度 16-64 个字符,建议每次请求使用新的 UUID。
16 - 64使用商户 API Secret 对 {timestamp}.{nonce}.{requestBody} 计算 HMAC-SHA256,结果为小写 hex。GET 请求的 requestBody 为空字符串。
订阅 ID。
展开关联对象。支持 latest_invoice、customer、payment_method;兼容逗号分隔、多值、expand[]、camelCase。
latest_invoice, customer, payment_method 查询成功。
订阅对象。
订阅 ID。
"subscription"
外部客户 ID。
店铺 ID。
币种。
订阅描述。
订阅状态。
incomplete, trialing, active, past_due, canceled, incomplete_expired 订阅项列表。
默认支付方式 ID。
账期锚点,Unix 秒。
当前周期开始,Unix 秒。
当前周期结束,Unix 秒。
取消完成时间,Unix 秒。
计划取消时间,Unix 秒。
最近一张发票 ID。
expand=latest_invoice 时返回完整发票对象。
expand=customer 时返回完整客户对象。
expand=payment_method 时返回完整支付方式对象。
首次付款收银台 URL,仅创建时返回。
商户自定义元数据。
创建时间,Unix 秒。