API reference
List refunds
List StableOps refunds for the organization and environment, filter by payment order or status, and page through requests for support and reconciliation.
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
}How is this guide?
Last updated
Create a non-custodial refund request POST
Create a StableOps non-custodial refund request for a finalized payment order, with an exact amount and customer-approved address on the original chain.
Retrieve a refund GET
Retrieve a StableOps refund by ID, including its source payment, chain, asset, amount, destination, transaction hash, status, timestamps, and failure reason.