> ## Documentation Index
> Fetch the complete documentation index at: https://docs.etherfuse.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Brazil

> Verify Brazilian customers, register bank accounts for PIX, answer account requirements, and test in sandbox.

Onramps and offramps in Brazil are coming soon. Money moves in BRL on `pix`, Brazil's instant payment network. This page covers what is specific to Brazil's bank rail. Customers from other countries can still use us on chain. See [Local Bank Rails](https://docs.etherfuse.com/guides/countries/overview.md). For the end-to-end flows, see the [Onboarding](https://docs.etherfuse.com/guides/onboarding.md), [Payment Accounts](https://docs.etherfuse.com/guides/payment-accounts.md), [Onramps](https://docs.etherfuse.com/guides/testing-onramps.md) and [Offramps](https://docs.etherfuse.com/guides/testing-offramps.md) guides.

> [!NOTE]
>
> Brazil isn't open in production yet. You can build and test the whole flow in sandbox today.

## Supported operations

| Operation | Supported |
| - | - |
| Onramp (BRL → token) | Coming soon |
| Offramp (token → BRL) | Coming soon |
| Cash in (cash BRL → token) | Not yet supported |
| Cash out (token → cash BRL) | Not yet supported |

| Market | Currency | Rail | Stablebond |
| - | - | - | - |
| Brazil | `BRL` | `pix` | TESOURO |

## Identity verification

A Brazilian customer goes through the standard [identity verification](https://docs.etherfuse.com/guides/onboarding.md) flow, with no extra requirements.

## Bank accounts

In production, you'll register a Brazilian bank account with `accountDetails` of kind `brlBankDetails`: the bank code, branch, account number and account type. Our payment partner pays out only to an account the holder owns, so we register the bank account itself, not a PIX key. This format is coming soon. When Brazil opens, [Get registration requirements](https://docs.etherfuse.com/api-reference/payment-accounts/get-registration-requirements.md) returns its exact field names.

Sandbox takes `pixKey` today. See [Sandbox](#sandbox).

The route needs `accountHolderName` and `taxId` under `registrationInfo`. `taxId` is the holder's CPF, or the CNPJ for a company. We fill both from the organization's verified identity when we have them, and Get registration requirements lists the ones you still need to send.

## Account requirements

In production, PIX accounts have these rules:

* They work for `personal` organizations. PIX accounts for `business` organizations are coming soon. Until then, registering one returns `422` `unsupported`.
* The customer's identity verification must be approved first. Registering before it is approved returns `409` `organization-not-approved`.
* The account lists a `termsAcceptance` [requirement](https://docs.etherfuse.com/guides/payment-accounts.md#requirements) for our payment partner's terms of use and privacy policy. Show the customer the documents and answer it. The customer accepts once per organization, so later PIX accounts skip it. Our partner can publish new terms while your answer is still being processed; see [Requirements](https://docs.etherfuse.com/guides/payment-accounts.md#requirements).
* After the customer answers, the account stays `pending` while our partner reviews the organization. If our partner approves it, we register the bank account, and you quote once the direction you need is `ready`. If our partner doesn't approve the organization, the directions move to `rejected` with `organizationNotApproved`.
* If our partner later disables the organization, its PIX accounts' ready directions move to `disabled`. They move back to `ready` when our partner approves the organization again. We send `paymentAccountUpdated` each time.

## Funding and payouts

* **Onramp funding:** on `pix`, `fundingInstructions.destination` holds a `brCode` for the customer to pay.
* **Transaction ids and returned payouts:** we haven't defined what `fundingTransactionId` and `deliveryTransactionId` hold on PIX, or how a returned PIX payout works, yet. We'll add them when Brazil opens.

## Sandbox

See the [Sandbox Reference](https://docs.etherfuse.com/test-environment.md) for what works the same in every country.

* **Accounts:** register PIX accounts with `accountDetails` of kind `pixKey`. Sandbox doesn't take `brlBankDetails` yet. To see the fields to send, call Get registration requirements with `accountDetailsKind=pixKey`:

  ```bash theme={null}
  curl -H "Authorization: <api_key>" \
    "https://api.sand.etherfuse.com/organization/$ORGANIZATION_ID/payment_account/requirements?kind=bank&country=BR&currency=BRL&accountDetailsKind=pixKey"
  ```

  Sandbox registers PIX accounts on a simulated route. They move to `ready` within a few seconds, list no requirements, and accept `business` organizations, so you can't test `termsAcceptance` or the production rules above in sandbox yet.
* **Deposits:** simulate the customer's PIX payment with [`POST /organization/{organizationId}/order/{id}/fiat_received`](https://docs.etherfuse.com/api-reference/sandbox/simulate-fiat-received).
* **Onramp cap:** 500 BRL per quote.

## Related

> [card] [Onboarding](https://docs.etherfuse.com/guides/onboarding.md)

> [card] [Payment Accounts](https://docs.etherfuse.com/guides/payment-accounts.md)

> [card] [Sandbox Reference](https://docs.etherfuse.com/test-environment.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.