Skip to main content
POST
/
v1
/
transfer
Transfer from Prime wallet to sub-wallet
curl --request POST \
  --url https://api.openxswitch.com/v1/transfer \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "subWalletId": "<string>",
  "amount": "<string>",
  "coin": "<string>",
  "clientTxId": "<string>"
}
'
{
  "success": true,
  "data": {
    "id": "wd_001",
    "workspaceId": "67804918f2b05ac82a129441",
    "clientTxId": null,
    "fromWalletId": "678a39d6b731ad1ad8832c8a",
    "toWalletId": "731ad1ad8832c8a....",
    "coin": "USDT",
    "amount": 100,
    "status": "success",
    "networkFee": 0,
    "tagMemo": null,
    "confirmed": false,
    "confirmedAt": null,
    "createdAt": null
  }
}

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

The unique identifier of the destination Sub wallet

amount
string
required

The amount to be transferred

coin
string
required

The token name

clientTxId
string

Unique ID for tracking the client's request.

Response

success
boolean
required
Example:

true

data
object
required