API 參考
查詢退款列表
查詢目前組織與環境中的 StableOps 退款記錄,可按付款訂單和退款狀態篩選,並透過分頁檢視申請、已提交、已確認、失敗或取消的退款。介面適合客服追蹤處理進度、財務核對剩餘退款額度,以及運維發現長期未完成的鏈上退款任務。
GET
/v1/refundsAuthorization
bearerAuth AuthorizationBearer <token>
Paste your API key from the dashboard.
In: header
Query Parameters
offset?number
limit?number
status?string
payment_order_id?string
Response Body
application/json
curl -X GET "https://example.com/v1/refunds"{
"items": [
{
"id": "string",
"payment_order_id": "string",
"source_payment_event_id": "string",
"chain": "ethereum",
"asset": "USDC",
"amount": "string",
"amount_minor": "string",
"source_address": "string",
"destination_address": "string",
"status": "requested",
"tx_hash": "string",
"failure_reason": "string",
"submitted_at": "2019-08-24T14:15:22Z",
"confirmed_at": "2019-08-24T14:15:22Z",
"canceled_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
],
"has_more": true,
"total": 0
}這篇文件怎麼樣?
最後更新