Skip to main content

Brazil

TOPPAY TeamAbout 1 min

Country domains & codes (Brazil)

Country/RegionCountry CodeDomainCurrency CodeCurrency Name
Brazilbrglobal-br-openapi.toppayment.comBRLBrazilian Real

Domain: Prefer the unified host openapi.toppayment.com (path unchanged); legacy country domains remain available.

Sandbox/production hostnames are subject to your account setup; URL patterns follow the same convention as other regions: /sandbox/{countryCode}/... (sandbox) and /{countryCode}/... (production).

Pay-In method codes

Use these values in the method field for Brazil Pay-In (/pay/prePay, domain/country code as above). Aligned with BrazilMethodEnum. Open-API field descriptions and examples: Pay-In Orders — Brazil.

Method codeDescription
PIXPIX

If additional method values are enabled by the gateway, follow the live response and the list provided by operations.

Amount format (Pay-In / Pay-Out)

Positive amount, integer or at most 2 decimal places; not all zeros; no three or more decimal places. See amount in Pay-In Orders — Brazil and Pay-Out Orders — Brazil.

Pay-Out PIX field mapping

For Brazil pay-out over PIX, the generic DTO fields map as follows. Pay-Out request fields and examples: Pay-Out Orders — Brazil.

Open API fieldMeaning
accountNameBeneficiary name (business field name)
bankCodePIX key type (business field pixType), values in the table below, case-insensitive
bankCardPIX account / key value (business field pixAccount)
taxNumberOptional; when present must be 11 digits (CPF) or 14 digits (CNPJ) after stripping non-digits

Beneficiary name (accountName)

  • Required, max 50 characters.
  • Only Unicode letters, digits, and spaces.

PIX types (bankCode) and names

Same as BrazilBankEnum — used as pay-out bankCode (pixType) and display bankName:

bankCodebankName
CPFCPF
CNPJCNPJ
PHONEPHONE
EMAILEMAIL
EVPEVP

bankCard (pixAccount) rules by PIX type

bankCodebankCard (pixAccount) requirement
CPFAfter removing non-digits, exactly 11 digits
CNPJAfter removing non-digits, exactly 14 digits
PHONESpaces may be removed first; must start with +55 followed by 10–11 digits
EMAILValid email format
EVPExactly 32 alphanumeric characters ([a-zA-Z0-9]{32})

For Pay-In and Pay-Out status values, see Transaction Status Codes.