Skip to main content
POST
/
v1
/
wallet
/
whitelist
Add Addresses to Whitelist
curl --request POST \
  --url https://api.example.com/v1/wallet/whitelist \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --header 'x-client-key: <x-client-key>' \
  --data '
{
  "wallets": [
    {
      "currency": "<string>",
      "name": "<string>",
      "beneficiaryFirstName": "<string>",
      "beneficiaryLastName": "<string>",
      "walletAddress": "<string>",
      "walletMemo": "<string>"
    }
  ]
}
'
{
  "success": true
}
Add one or more external wallet addresses to the whitelist. Multiple addresses can be added in a single request.

Authentication

x-client-key
string
required
Your public API client key
Authorization
string
required
Bearer token for authentication

Request Body

wallets
array
required
Array of addresses to whitelist

Response

success
boolean
Whether whitelisting was successful
{
  "success": true
}
curl -X POST "https://dev.api.baanx.com/v1/wallet/whitelist" \
  -H "x-client-key: YOUR_CLIENT_KEY" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "wallets": [
      {
        "currency": "xrp",
        "name": "Binance Account | Primary",
        "beneficiaryFirstName": "John",
        "beneficiaryLastName": "Doe",
        "walletAddress": "rNxp4h8apvRis6mJf9Sh8C6iRxfrDWN7AA",
        "walletMemo": "66"
      }
    ]
  }'