Crypto withdrawal status
One crypto withdrawal by the withdrawal_id returned when it was created. tx_hash and network_fee are null until the transaction is broadcast. Poll this until status settles at SUCCESS or FAILED; a failed withdrawal has been refunded to your balance.
Authorization
apiKey API key generated from your account settings on the website. Send as Authorization: Bearer csd_....
In: header
Path Parameters
Withdrawal id
Response Body
application/json
curl -X GET "https://example.com/public/v1/crypto-withdraw/0"{ "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"}Check your API key GET
Previous Page
Withdraw balance to crypto POST
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.