Skip to main content
POST
/
v1
/
sub-wallet
/
transfer
Transfer between Sub-Wallets
curl --request POST \
  --url https://api.openxswitch.com/v1/sub-wallet/transfer \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "fromSubWalletId": "<string>",
  "toSubWalletId": "<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
fromSubWalletId
string
required

The unique identifier of the source Sub wallet

toSubWalletId
string
required

The unique identifier of the destination Sub wallet

amount
string
required

The amount to be transferred

coin
string
required

The token name. Only rechargeable currencies are accepted.

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

clientTxId
string

Unique ID for tracking the client's request.

Response

success
boolean
required
Example:

true

data
object
required