跳转到内容

查询法币付款

请求

返回当前鉴权组织的一笔付款最新状态。需要 payout.read 权限。

processing 表示仍在执行;completed 表示付款已成功完成。对端银行仍可能拒收并退回一笔已经完成的汇款;原付款继续保持 completed,可选的 return 对象会描述银行退汇和独立退款。failed 表示付款在银行成功完成前失败。

安全
Ed25519
路径
payout_idstring必需

Infini 法币付款 ID。

示例:fpo_01JQ90GQJTC5P7B2D8N6R4K1MX
标头
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.

curl -i -X GET \
  https://developer.infini.money/_mock/zh/apis/payout/v2/payouts/fpo_01JQ90GQJTC5P7B2D8N6R4K1MX \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Digest: string' \
  -H 'X-API-Key-ID: string' \
  -H 'X-API-Nonce: string' \
  -H 'X-API-Timestamp: string'

响应

当前付款状态

正文application/json
codeinteger必需

业务码,0 表示成功。

Value:0
示例:0
messagestring必需

响应消息。

示例:""
dataobject(Payout)必需
响应
{ "code": 0, "message": "", "data": { "payout_id": "fpo_01JQ90GQJTC5P7B2D8N6R4K1MX", "client_reference_id": "payout_20260730_0001", "quote_id": "poq_01JQ90B8S5VJ6R3T7F1M2C4N9X", "provider": "sgb", "status": "processing", "payout_type": "swift", "source_currency": "USD", "destination_currency": "USD", "destination_country": "US", "amount_mode": "receive", "fee_paid_by": "PAYER", "sending_amount": "1051.05", "receiving_amount": "1000.00", "transfer_fee_amount": "1.05", "bank_fee_amount": "50.00", "fee_rate_decimal": "0.001", "rate": "1", "billing": { … }, "destination": { … }, "purpose_code": "goods_and_services", "statement_reference": "INV-2026-0730", "bank_reference": null, "failure": null, "return": null, "is_duplicate": false, "created_at": 1786587000, "updated_at": 1786587001, "completed_at": null } }