跳转到主要内容
GET
/
api
/
v1
/
payment_method
/
{payment_method_id}
{
  "id": "<string>",
  "customer_id": "<string>",
  "merchant_id": "<string>",
  "type": "<string>",
  "address": "<string>",
  "status": "active",
  "created_at": 123,
  "updated_at": 123,
  "metadata": {}
}

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.

授权

Authorization
string
header
必填

Bearer API Key,例如 Bearer sk_live_xxx

X-StablePay-Timestamp
string
header
必填

Unix 时间戳(秒)。必须与服务端时间相差不超过 5 分钟。

X-StablePay-Nonce
string
header
必填

防重放随机字符串,长度 16-64 个字符,建议每次请求使用新的 UUID。

X-StablePay-Signature
string
header
必填

使用商户 API Secret 对 {timestamp}.{nonce}.{requestBody} 计算 HMAC-SHA256,结果为小写 hex。GET 请求的 requestBody 为空字符串。

请求头

X-StablePay-Timestamp
string
必填

Unix 时间戳(秒)。必须与服务端时间相差不超过 5 分钟。

X-StablePay-Nonce
string
必填

防重放随机字符串,长度 16-64 个字符,建议每次请求使用新的 UUID。

Required string length: 16 - 64
X-StablePay-Signature
string
必填

使用商户 API Secret 对 {timestamp}.{nonce}.{requestBody} 计算 HMAC-SHA256,结果为小写 hex。GET 请求的 requestBody 为空字符串。

路径参数

payment_method_id
string
必填

支付方式 ID。

响应

查询成功。

id
string
必填

支付方式 ID。

customer_id
string
必填

客户 ID。

merchant_id
string
必填

商户 ID。

type
string
必填

支付方式类型,当前通常为 crypto

address
string
必填

付款地址。当前实现返回空字符串。

status
enum<string>
必填

支付方式状态。

可用选项:
active,
inactive,
revoked,
unknown
created_at
integer<int64>
必填

创建时间,Unix 秒。

updated_at
integer<int64>
必填

更新时间,Unix 秒。

metadata
object

支付方式元数据。

Last modified on April 30, 2026