Skip to main content
PATCH
/
v1
/
swap
/
update
Update an existing order
curl --request PATCH \
  --url https://api.openxswitch.com/v1/swap/update \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "orderId": "<string>",
  "country": "<string>",
  "documents": [
    "<string>"
  ],
  "selfie": [
    "<string>"
  ]
}
'
{
  "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.

Body

application/json
orderId
string
required

Order ID

country
string
required

Currency

documents
string[]
required

documents

selfie
string[]
required

Selfie

Response

success
boolean
required
Example:

true

data
object
required