Skip to main content

Fiat Withdraw(WITHDRAW)

API Description

Submit withdraw request, in this version, we support BRL,ARS,MXN withdrawal via bank_transfer.

You need to call this api first, and call query order detail api in a loop to get the status of the order until this order is successful.

Before calling this API, please ensure you have completed your KYC or KYB, activated your fiat service, and verified your destination bank account on our website.

HTTP Request

POST /sapi/v2/fiat/withdraw

Request Weight(UID)

45000

Request Parameters

NameTypeMandatoryDescription
recvWindowLongNO
timestampLongYES

Request Body

NameTypeMandatoryDescription
currencySTRINGYESFiat currency, such as BRL, ARS, MXN
apiPaymentMethodSTRINGYESpayment method
current supported:
bank_transfer
amountNUMBERYESwithdraw amount
accountInfoOBJECTYESwithdraw account info
accountInfo.accountNumberSTRINGYESYour destination bank account number is required to receive the withdrawal. In Argentina, this will be your CBU/CVU; in Mexico, it will be your CLABE.
extOBJECTNOwithdraw request ext info

you need to bind your bank account on web/app before using the corresponding account number

Request Command

{
curl --location '{{domain}}/sapi/v2/fiat/withdraw?timestamp={{timestamp}}&signature={{signature}}' \
--header 'X-MBX-APIKEY: {{apikey}}' \
--header 'Content-Type: application/json' \
--data '{
"currency":"BRL",
"apiPaymentMethod":"bank_transfer",
"amount": 20,
"accountInfo": {
"accountNumber":"1056894222",
"agency":"1234",
"bankCodeForPix":"222",
"accountType":"current"
}
}'
}

Response Example

{
"code": "000000",
"message": "success",
"data": {
"orderId":"04595xxxxxxxxx37"
}
}

Error Codes

indexcodemessage
1-16007Not enough limit
2-16009Not passed KYC/KYB
3-16010Not supported currency or payment method
4-16011Order not exist
5-16012No channel supported