Skip to main content
POST
/
v1
/
fee
/
withdraw
Estimate Withdrawal Fee
curl --request POST \
  --url https://api.openxswitch.com/v1/fee/withdraw \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount": "<string>",
  "coin": "<string>",
  "chain": "<string>"
}
'
{
  "success": true,
  "data": {
    "coin": "<string>",
    "chain": "<string>",
    "withdrawFee": "0.01",
    "minWithdrawAmount": "0.1",
    "withdrawable": true
  }
}

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
amount
string
required

Amount to withdraw

coin
string
required

The token name. Only rechargeable currencies are accepted.

Refer to the Get Recharge Currencies endpoint for the list of supported currencies.

chain
string

The 'chain' name.

Refer to the Get Recharge Currencies endpoint for the list of supported chains.

Response

success
boolean
required
Example:

true

data
object
required