Deposit(TRADE)
API Description
Submit deposit request, in this version, we only support BRL deposit via pix.
For BRL deposit via pix, you need to place an order before making a transfer from your bank.
Before calling this api, please make sure you have already completed your KYC or KYB, and already activated your fiat service on our website.
HTTP Request
POST /sapi/v1/fiat/deposit
Request Weight(UID)
45000
Request Parameters
| Name | Type | Mandatory | Description |
|---|---|---|---|
| recvWindow | Long | NO | |
| timestamp | Long | YES |
Request Body
| Name | Type | Mandatory | Description |
|---|---|---|---|
| currency | STRING | YES | fiat currency, such as BRL |
| apiPaymentMethod | STRING | YES | payment method current supported: pix |
| amount | NUMBER | YES | deposit amount |
| ext | OBJECT | NO | deposit request ext info |
Request Command
{
curl --location '{{domain}}/sapi/v1/fiat/deposit?timestamp={{timestamp}}&signature={{signature}}' \
--header 'X-MBX-APIKEY: {{apikey}}' \
--header 'Content-Type: application/json' \
--data '{
"currency":"BRL",
"apiPaymentMethod":"Pix",
"amount":30
}'
}
Response Example
{
"code": "000000",
"message": "success",
"data": {[Fiat-Withdraw.md](Fiat-Withdraw.md)
"orderId":"04595xxxxxxxxx37" //deposit order id
}
}
Error Codes
| index | code | message |
|---|---|---|
| 1 | -16007 | Not enough limit |
| 2 | -16009 | Not passed KYC/KYB |
| 3 | -16010 | Not supported currency or payment method |
| 4 | -16011 | Order not exist |
| 5 | -16012 | No channel supported |