2. Fiat and Crypto Decimal Requirement

Introduction

All API operations must comply with the decimal place restrictions for different currencies. Exceeding the allowed decimals will lead to rounding, truncation, or request rejection.


Fiat Currencies

Currency Full Name Supported Decimal Places Example of Valid Amount Example of Invalid Amount
BRL Brazilian Real 2 100.25 100.253
USD US Dollar 2 50.75 50.755

Crypto Currencies

Currency Full Name Supported Decimal Places Example of Valid Amount Example of Invalid Amount
USDC USD Coin (ERC20) 8 10.12345678 10.123456789
BBRL Brazilian Stablecoin 8 1.12345678 1.1234567890

Developer Notice

  • Always ensure that the amount field in your API requests matches the decimal precision supported by the currency.
  • Requests with invalid decimal precision may be rejected or amounts truncated according to business rules.
  • It is recommended to add decimal validation on the client side before calling the API.

Example


{
  "amount": "0.12345678"    // Valid for USDC, BBRL; invalid for BRL, USD
}

results matching ""

    No results matching ""