跳转到内容

分页查询法币付款状态

请求

返回当前鉴权组织在 start_time 至 end_time(包含边界)内创建的法币付款。需要 payout.read 权限。

结果按创建时间倒序排列并使用页码分页。page 默认值为 1;page_size 默认值为 20,最大值为 100。

按时间窗口定期对账时使用此接口;查询一笔已知付款时使用 GET /v2/payouts/{payout_id}。

安全
Ed25519
标头
X-API-Key-IDstring必需

32-character Base58 credential ID returned after public-key registration.

X-API-Timestampstring必需

Unix timestamp in seconds; tolerance is ±300 seconds.

X-API-Noncestring必需

16 cryptographically random bytes encoded as unpadded Base64URL; fresh on every attempt.

Digeststring必需

SHA-256= followed by standard padded Base64 of SHA-256 of exact request body bytes. Required even for an empty body; included in the signing string.

Authorizationstring必需

Use Ed25519 signature="BASE64_SIGNATURE", where BASE64_SIGNATURE is the standard padded Base64 signature. See /docs/en/4-authorization for the exact signing string.

正文application/json必需
start_timeinteger, (int64), >= 1必需

付款创建时间区间的开始时间(含),Unix 秒。

示例:1786500000
end_timeinteger, (int64), >= 1必需

付款创建时间区间的结束时间(含),Unix 秒,必须大于或等于 start_time。

示例:1786599999
pageinteger, >= 1

页码。

默认值:1
示例:1
page_sizeinteger, [ 1 .. 100 ]

每页付款数量。

默认值:20
示例:20
curl -i -X POST \
  https://developer.infini.money/_mock/zh/apis/payout/v2/payouts/status/batch \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -H 'Digest: string' \
  -H 'X-API-Key-ID: string' \
  -H 'X-API-Nonce: string' \
  -H 'X-API-Timestamp: string' \
  -d '{
    "start_time": 1786500000,
    "end_time": 1786599999,
    "page": 1,
    "page_size": 20
  }'

响应

按创建时间倒序返回的付款状态及分页信息

正文application/json
codeinteger必需

业务码,0 表示成功。

Value:0
示例:0
messagestring必需

响应消息。

示例:""
dataobject必需
响应
{ "code": 0, "message": "", "data": { "payouts": [ … ], "total": 1, "page": 1, "page_size": 20, "total_pages": 1 } }