Documentation Index
Fetch the complete documentation index at: https://docs.hg.cash/llms.txt
Use this file to discover all available pages before exploring further.
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)
Flow
POST /api/v1/br/transactions/inbound— passaccountId,amount, andemail- 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.
