API 參考
查詢商戶發票支付狀態
查詢 StableOps 商戶帳單支付狀態,核對關聯付款訂單與帳單結算結果,在使用者返回頁面或回呼異常時確認實際進度。帳單付款需要使用者錢包主動轉帳,建立支付請求本身不會結清帳單。應根據返回的精確金額付款,並在支付達到最終確認後核對帳單結算與訂閱權益。
GET
/v1/merchant/invoices/{id}/payment-statusAuthorization
bearerAuth AuthorizationBearer <token>
Paste your API key from the dashboard.
In: header
Path Parameters
id*unknown
Merchant invoice id.
Response Body
application/json
curl -X GET "https://example.com/v1/merchant/invoices/{id}/payment-status"{
"invoice_id": "string",
"status": "open",
"payment_order": {
"id": "string",
"merchant_order_id": "string",
"amount": "string",
"requested_amount": "string",
"status": "created",
"expires_at": "2019-08-24T14:15:22Z",
"payment_instructions": [
{
"chain": "ethereum",
"asset": "USDC",
"address": "string"
}
]
}
}這篇文件怎麼樣?
最後更新