Create a withdrawal
This endpoint creates a withdrawal for a instrument that will be sent either to a bank account or a cryptocurrency address depending on the type of the instrument.
It returns the details about the withdrawal when it has successfully been created, otherwise it returns an error message.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
subAccountId
Identifier of the sub-account that will be debited.
instrumentId
Identifier of the instrument of the withdrawal.
quantity
Quantity of the withdrawal. Must be greater than zero.
bankAccountId
The unique identifier of a bank account of the account.
externalAddressId
The unique identifier of a whitelisted external address.
Response
A successful response.
result
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
503
Service Unavailable Error