POST: Withdrawal
POST /withdrawals/requests
POST /withdrawals/requests
Sample Response
Creates new withdrawal requests to be settled. Withdrawal requests created through the API go directly into an APPROVED
state. To retrieve withdrawal account IDs use the GET /withdrawals/digital_asset_addresses
and GET /withdrawals/fiat_accounts
endpoints.
There are 3 ways to submit withdrawal requests:
The first, standard method uses a
withdrawal_account_id
to choose the location to withdrawal to, which can be for a fiat currency or a digital asset. The account must be in anAPPROVED
state before submitting withdrawal requests to it.The second method allows for submitting a digital asset
address
instead of thewithdrawal_account_id
. When POSTing anaddress
, NDAX will first scan to see if you already have an existingwithdrawal_account_id
for that destination, and if not, it will create one automatially and provide you thewithdrawal_account_id
in response. This is not available as standard. Please contact us if you'd like to learn more about this option.The third method allows for submitting a fiat withdrawal
account{}
instead of thewithdrawal_account_id
. When POSTing anaccount{}
, NDAX will first scan to see if you already have an existingwithdrawal_account_id
for that destination, and if not, it will create one automatially and provide you thewithdrawal_account_id
in response. This is not available as standard. Please contact us if you'd like to learn more about this option.
Request body:
Parameter | Description | Type |
---|---|---|
client_withdrawal_request_id | A unique identifier for the withdrawal, generally produced by the Platform on which the trade was executed Note: this must be unique, per platform, per 24 hour period | string |
withdrawal_account_id | The whitelisted withdrawal account or address to withdraw funds to
Note: only one of | string |
address | The digital asset address to withdraw funds to, which may or may not already exist in NDAX as an approved | string |
account{} | The fiat account to withdraw funds to, which may or may not already exist in NDAX as an approved | object |
participant_code | The participant code against whom the withdrawal will be made | string |
account_group | The account group to withdraw against, e.g. | string |
account_label | The account label associated with the account | string |
amount | The amount to withdraw | string |
asset | The asset code for the withdrawal request, e.g. | string |
destination_tag | For tag-based assets, please provide the memo id/destination tag value in this field. For more information on when and how to populate this field, please refer here | string |
no_destination_tag | The value should be true or false. For more information on when and how to populate this field, please refer here | boolean |
gas_price | Applicable only for ERC-20 tokens, the transaction fee payable on the Ethereum network - refer to our FAQ on how this works | string |
input_data | Applicable only for smart contract executions on the Ethereum blockchain. This is the ABI encoding of the function and its arguments in RLP format. | string |
Account field shape:
Parameter | Description | Type |
---|---|---|
name | The nickname given to the withdrawal account Note: NDAX will append the last 4 digits of the account number to this when saving it | string |
limit | The limit applied to the account on a per-withdrawal basis | number |
type | The type of account: | string |
beneficiary_name | The owner of the account at the withdrawal destination | string |
account_number | The unique IBAN or account number for the final withdrawal destination | string |
bank_name | The name of the destination financial institution | string |
routing_number | For US wires, the ABA routing number identifies the destination financial institution | string |
swift_code | SWIFT code, if applicable | string |
recipient_instructions | Any additional instructions on the account | string |
intermediary_ bank_name | Intermediary bank name, if applicable | string |
intermediary_ bank_code_type | Intermediary bank identifier code type, if applicable
Options include | string |
intermediary_ bank_code | Intermediary bank identifier that corresponds to | string |
intermediary_ bank_account_number | Intermediary bank IBAN or account number, if applicable | string |
correspondent_ bank_name | Correspondent bank name, if applicable | string |
correspondent_ bank_code_type | Correspondent bank identifier code type, if applicable
Options include | string |
correspondent_ bank_code | Correspondent bank identifier that corresponds to | string |
correspondent_ bank_account_number | Correspondent bank IBAN or account number, if applicable | string |
Last updated