Cashouts move money from an origin bank account (your balance with the provider) to exactly one destination: either a registered external bank account (Documentation Index
Fetch the complete documentation index at: https://docs.rinne.com.br/llms.txt
Use this file to discover all available pages before exploring further.
/bank-accounts) or a registered external PIX key (/pix-keys). Request and response fields for those resources are documented on each endpoint in the API reference.
Before you start
- Origin:
origin_bank_account_idis the bank account debited for the cashout. It must be eligible per your setup (for example, an affiliated account with available balance). Use theidreturned when you list bank accounts for the merchant or company. - Destination: Register either a Company bank account or a Company PIX key (paths under
/bank-accountsor/pix-keys). In the cashout body you senddestination_bank_account_idordestination_pix_key_id—never both. - Idempotency / tracking:
request_idis required; use a unique string per cashout attempt (for example a UUID or your internal reference).
1) Register an external PIX key destination
POST accepts key (required) and optional primary. The API resolves the key via DICT; the create response can include dict_key_information (often masked per BACEN rules).
- Merchant
- Organization
2) Register an external bank account destination
Required fields:branch_number, account_number, account_type, account_holder_name, account_holder_document_number, ispb. Use digits only for branch and account numbers.
- Merchant
- Organization
3) Create a cashout
Request body includes:| Field | Required | Notes |
|---|---|---|
request_id | Yes | Client reference for the cashout |
origin_bank_account_id | Yes | UUID of the account to debit |
amount | Yes | Amount in cents |
method | Yes | Must be PIX |
destination_bank_account_id | One of destination pair | Omit when using a PIX key destination |
destination_pix_key_id | One of destination pair | Omit when using a bank account destination |
currency | No | Defaults to BRL |
metadata | No | Arbitrary key-value object |
Destination: external bank account
- Merchant
- Organization
Destination: external PIX key
Omitdestination_bank_account_id and send destination_pix_key_id (the UUID returned from POST …/pix-keys).
- Merchant
- Organization
4) List, get details, and receipt
- Merchant
- Organization
For organization cashouts,
CASHOUT_ID can be internal id or external request id per API docs. Receipts are only returned for certain completed states and require an end-to-end ID—see Cashouts or the cashout receipt endpoints in the API reference.Cashout status values
Typical cashout statuses arePENDING, PROCESSING, COMPLETED, FAILED, PARTIALLY_RETURNED, and RETURNED.
Webhooks
Subscribe to:cashout.created: emitted when the cashout is successfully createdcashout.status-changed: emitted when status updates
Reference endpoints
| Scope | Cashouts | External bank accounts | External PIX keys |
|---|---|---|---|
| Merchant | /v1/merchants/{merchantId}/cashouts | /v1/merchants/{merchantId}/bank-accounts | /v1/merchants/{merchantId}/pix-keys |
| Organization | /v1/banking/cashouts | /v1/companies/me/bank-accounts | /v1/companies/me/pix-keys |

