The Rumbapay Payout API allows you to make payouts to your clients' bank accounts. This document provides instructions on how to create and manage bank transfer payouts.
How exactly Bank Transfer Payout works:
Merchant makes a request to create a bank transfer payout;
Rumbapay processes the payout, interacting with the appropriate banking provider;
Rumbapay sends a webhook to the merchant once the transaction status becomes terminal.
Base URL:
https://api.rumbapay.online/v1/
Data Format: JSON
HTTP Methods: POST, GET
Initialize Payout
The payout process follows this general flow:
Merchant sends a payout request
Rumbapay validates the request and returns an initial response
Rumbapay processes the payout with the banking provider
Merchant can check the status or wait for a callback notification
Rumbapay sends a callback when the status changes to a terminal state (success, declined, error, or expired)
Method: HTTP POST
URL:https://api.rumbapay.online/v1/payout
Request Body:
{
"method": "pix",
"reference": "334545", // required
"currency": "BRL", // required
"amount": 25.01, // required
"description": "My order payout", // optional,
"requisites": {
"name": "Juancarlos Rodríguez", // required - Beneficiary's name - Length between 5 and 100
"account": "33224455661", // required - Beneficiary's PIX account
"account_type": "CPF"
},
"customer": // required
{
"identifier": "1111-1111-2211-2211", // required, any unique value from the merchant's system may be used.
"email": "juancarlos@hotmail.com", // optional
"phone": "+5491123456789", // optional
"first_name": "Juan", // required
"last_name": "García Rodríguez", // required
"middle_name": "Carlos", // optional
"country": "AR", // optional, Argentina (ISO 3166-1 country code for Argentina)
"state_code": "B", // optional, Buenos Aires Province (ISO 3166-2 state code for Buenos Aires)
"city": "Buenos Aires", // optional
"address": "Calle Emilio Mitre 3256", // optional
"zip_code": "C1407", // optional
"itn": "X1234567890", // required, CUIT/CUIL/CDI number (Argentine tax identification number)
"birthday": "2006-01-02", // optional
"ip": "192.168.0.1", // optional
"gender": "male" // optional
},
"lang": "es", // optional
"redirect_url": "redirect_url", // optional
"cancel_url": "cancel_url", // optional
"callback_url": "callback_url", // conditional
"extra": // any field which may be needed for transaction routing and integration
[
{ "key_1": "value" },
{ "key_3": "value" }
]
}