API
ReferenceAccount

Withdraw balance to crypto

Open raw markdownFor pasting into AI assistants
POST
/public/v1/crypto-withdraw

Sends part of your balance to a crypto address. amount is in cents and is deducted from your balance in full: the platform fee comes off it, the remainder is converted to ticker at the current spot rate, and the network fee is paid out of the converted amount. Each currency has a minimum withdrawal amount; requests below it are rejected with a 400. If two-factor authentication is enabled for withdrawals on your account, pass two_factor_auth_token. The response is the same shape as the status endpoint: status starts at PENDING, moves to CONFIRMING once the transaction is broadcast (tx_hash is set from then on), and settles at SUCCESS or FAILED. A failed withdrawal is refunded to your balance automatically.

AuthorizationBearer <token>

API key generated from your account settings on the website. Send as Authorization: Bearer csd_....

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/public/v1/crypto-withdraw" \  -H "Content-Type: application/json" \  -d '{    "amount": 1,    "ticker": "BTC",    "address": "string",    "fee_level": "LOW"  }'
{  "withdrawal_id": 1,  "status": "CREATED",  "balance_amount": -9007199254740991,  "token_amount": 0,  "ticker": "BTC",  "created_at": "2019-08-24T14:15:22Z",  "tx_hash": "string",  "network_fee": "string"}