Skip to main content
POST
/
v1
/
swap
/
refund
Refund an order
curl --request POST \
  --url https://api.openxswitch.com/v1/swap/refund \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.openxswitch.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

orderId
string
required

Order ID

refundAddress
string
required

Refund address

refundTag
string
required

Refund tag

Response

success
boolean
required
Example:

true

data
object
required