Brazil
Brazil is one of the key markets for digital payments in Latin America. With a rapidly growing fintech ecosystem, the country offers a modern and robust infrastructure for both Pay-In and Pay-Out transactions.
Among the most widely used payment methods is PIX, a real-time payment system developed by the Central Bank of Brazil.
tip
Please note that the process is always the same, before processing the transaction you must create the order, here is an example of the body for this country.
{
"country": "BRA",
"origin": "api",
"amount": "5",
"email": "test@gmail.com"
}
Pay Inβ
APMβ
Type Transaction | Type Payment | Payment Method | Supported Providers | Logos |
---|---|---|---|---|
bankin | bank | pix | pix |
Complete transaction - Body (Sample Request)β
{
"hash":"U2FsdGVkX1%2BSi%2B...",
"paymentMethod" : "pix",
"typePayment" : "bank",
"typeTransaction":"bankin",
"description" : "Orden de prueba",
"customer" :
{
"name": "Test User"
},
"cpf": "136.006.426-50"
}
Walletβ
Paypalβ
This endpoint allows you to initiate a payment process with PayPal through our API.
We will generate a checkout URL where the customer can be redirected to securely complete the payment process.
Complete transaction - Body (Sample Request)β
{
"hash": "U2FsdGV...",
"paymentMethod": "paypal",
"typePayment": "wallet",
"typeTransaction": "walletin",
"merchantId": "564153131",
"urlReturn": "https://google.com",
"urlRejected": "https://youtube.com",
"urlWebhook": "https://webhook/ok"
}
Aditional Notes
- The merchant must redirect the user to the
payer-action
URL immediately after receiving the response.- Do not rely solely on user redirection to confirm the payment; always validate the final payment status using the webhook.
Pay Outβ
Cash - Cash outβ
Complete transaction - Body (Sample Request)β
{
"hash":"U2FsdGVkX1%2BmLtf1vpR3e...",
"paymentMethod" : "pix",
"typePayment" : "cash",
"typeTransaction":"cashout",
"description" : "Orden de prueba",
"customer" :
{
"name": "Test User"
},
"cpf": "136.006.426-50"
"transaction": {"orderId": "string", "orderDescription": "string"},
}
Sample responseβ
202 Acceptedβ
{
"status": {
"code": 202,
"message": "success",
"kind": "unknown"
},
"data": {
"statusCode": "Done",
"data": {
"transaction": {
"id": "56e6af48-xxxx-xxxx-xxxx-2407443859",
"orderId": "f85b47d8-xxxx-xxxx-xxxx-07b5",
"date": "2024-11-06T18:37:33.098Z",
"state": "Registered",
"amount": "10"
},
},
"payment": {
"id": 524,
"uuid": "f85b47d8-xxxx-xxxx-xxxx-07b5",
"merchant": "test.88pay@gmail.com",
"merchantUuid": "xxxx-719c501cb757",
"country": "BRA",
"origin": "api",
"createdAt": "2024-11-06T18:36:52.000Z",
"amount": 10,
"rate": null,
"rateAmount": null,
"total": null,
"rateProviderAmount": null,
"sandbox": 1,
"paymentMethod": "pix",
"typeMethod": "cash"
}
}
}