Wallet
Submit withdrawal
Creates a withdrawal in processing state.
Set channel_type to "crypto" for on-chain withdrawals or "fiat" for bank transfers. See the request body schema for full field details per channel type.
Requires the withdraw permission on the API key.
If the API key has a withdrawal address whitelist, the destination (address, address_book_id, or recipient_id) must be in the whitelist or the request is rejected with 403 FORBIDDEN.
post/wallet/withdraw
Request
- Base URLhttps://api.altcointrader.co.za
- AuthAPI key in header X-API-KEY and API key in header X-TIMESTAMP and API key in header X-SIGNATURE
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"currency": "BTC",
"amount": "0.01",
"channel_type": "crypto",
"idempotency_key": "550e8400-e29b-41d4-a716-446655440000",
"address": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
"address_book_id": "addr-001",
"network": "BTC",
"address_tag": "12345",
"memo": "12345",
"recipient_id": "bank-001",
"account_holder_name": "John Smith",
"bank_name": "FNB South Africa",
"bank_code": "250655",
"branch_code": "250655",
"account_number": "62000000000",
"account_type": "Cheque",
"bank_reference": "INV-2024-001"
}Response
Withdrawal created successfully in processing state.
Example response
{
"id": "wd-001",
"currency": "BTC",
"amount": "0.01",
"fee_amount": "0.0001",
"amount_after_fees": "0.0099",
"status": "withdrawal_status_processing",
"channel_type": "crypto",
"network_code": "BTC",
"address": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
"requested_at": 1712000000,
"created_at": 1712000000
}Changes
No recorded changes to this operation across all 3 revisions of this API.