Deposit
Introduction
Deposits in Brazil enable individuals to smoothly transfer funds, combining the security of safeguarding money with the convenience of sending payments. Highly utilized across the country, it's a testament to its reliability and ease of use for financial transactions.
Getting Started
Generate Orders
Creating a Deposit TRANSPARENT order:
POST /api/v1/order
Host: binance.latamgateway.com
Content-Type: "application/json"
ACCOUNT_TOKEN: "<token>"
{
"customer": {
"name": "Customer’s full name",
"document": "111.222.333-44", # Note 1 below (required)
"email": "[email protected]", # (optional)
"phone": "11999999999", # (optional)
"birth": "1996-03-09", # (required)
"kyc_level_merchant": "Kyc_10k" # (optional)
},
"order":{
"code": "123", # Order reference in your system (required)
"notification_url": "your_payback_notification_url.com", # Where we'll notify when status changes (required)
"value": 50.00, # (required)
"additional_info": "Some description of your order as String", # (required)
"ocbs": false, # (optional)
"payment_method": "deposit", # (required)
"submerchant": { # (required for P2P orders)
"document": "12.345.678/0001-90"
}
}
}
The document can be a valid CPF or CNPJ. If CNPJ is used, the company name must be passed in the name parameter.
CPF and CNPJ are the Brazilian individual and company identification numbers, respectively.
The response will contain the following parameters:
{
"latam_id": "7c0b8129-f556-4357-bb6e-8189c2943024",
"code": "order_id_in_your_system",
"confirmation_url": "https://binance.latamgateway.com/7c0b8129-f556-4357-bb6e-8189c2943024", # Redirect URL
}
Business errors are returned with a 403 status code. The response will contain the following parameters:
{
"latam_id": "7c0b8129-f556-4357-bb6e-8189c2943024",
"message": "kyc message table below",
"code": "kyc code table below"
}
KYC RESPONSE CODES DESCRIPTIONS
Code | Message |
---|---|
KYC110 | Invalid CPF, please verify your date of birth and CPF number. |
KYC111 | Invalid CNPJ, please verify your CNPJ number. |
KYC112 | Different name from the federal revenue register of natural persons. |
List banks information
As you need to show your customer the available banks and the selected bank in bank_slug, this endpoint provides all the information needed in your form.
GET /api/v1/banks
Host: binance.latamgateway.com
Content-Type: "application/json"
ACCOUNT_TOKEN: "<token>"
{
"banks": [
{
"name": "BS2 S.A.",
"slug": "banco_bs2",
"owner": "Lta Gateway Intermediacao Financeira Ltda.",
"document": "33.630.661/0001-50",
"agency": "0001",
"account_number": "1085226-3",
"logo_url": "https://binance.latamgateway.com/assets/bank_logo/bs2-025d04fddaf735a529ce47776b44e342e0ca16fd5a6bf2f133e792cc8bd35922.png",
"operation": "218"
},
{
"name": "Simpaul",
"slug": "ted_simpaul",
"owner": "Lta Gateway Intermediacao Financeira Ltda.",
"document": "33.630.661/0001-50",
"agency": 0001,
"account_number": "33-7",
"logo_url": "https://binance.latamgateway.com/assets/bank_logo/simpaul-0a9ecaf765bb5b6aa8a498121b7e90be0f4db592d85b7e39bcd1c5e4b118e1c2.png",
"operation": "365"
},
]
}