Skip to main content
Create Withdrawal
curl --request POST \
  --url https://synthesis.trade/api/v1/wallet/pol/{wallet_id}/withdraw \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "token": "<string>",
  "amount": "<string>",
  "address": "<string>",
  "chain": "POLYGON"
}
'
{
  "success": true,
  "response": {
    "tx_hash": "0x..."
  }
}

Authorizations

X-API-KEY
string
header
required

Account secret API key.

Path Parameters

wallet_id
string
required

Body

application/json
token
string
required

Token symbol such as USDC.e, USDC, or USDT.

amount
string
required

Withdrawal amount or ALL.

address
string
required
chain
string
default:POLYGON

Destination chain.

Example:

"POLYGON"

Response

201 - application/json

Polygon withdrawal created