Overview
Brazil cash-in creates a PIX charge for a BRL account. The API returns a QR code and/or PIX copy-paste string for the payer. The transaction stayspending until payment is confirmed.
Accounts must use currency BRL and country BR.
Prerequisites
- Bearer API token with access to the BRL account
- Payer
emailon the charge (required by the API) - Payer
document— CPF or CNPJ (required by the API)
Flow
POST /api/v1/br/transactions/inbound— passaccountId,amount,email, anddocument- Present
qrCodeorpixCopiaEColato the payer - Optionally poll
GET /api/v1/br/transactions/{id}/statusor setwebhookUrl(see Receiving webhooks)
Example request
pending and moves to done when the PIX payment is confirmed.
Account status
The source account must beOperativa. Requests against Bloqueada or Cerrada accounts return 403 with code: ACCOUNT_NOT_OPERATIVE.
