Skip to main content

Data Model - Money

About 1 min

Money

The money object used in pay-in / pay-out (and related) APIs. Amount is in major currency units (not minor units like cents / satang).

ParameterTypeDescription
currencyStringCurrency code, e.g. IDR, THB, VND, USDT
amountNumberTransaction amount. Must be > 0. Decimal places depend on the table below
payAmountNumberActual settlement amount on responses (when present); same decimal rules as amount

Decimal places

amount is a Number (decimals allowed) — not always an integer. Follow the table for your currency. Extra fractional digits may be rejected or truncated — send the right scale.

Supported decimal places by currency

CurrencyCodeMax decimal placesExampleNotes
Indonesian RupiahIDR010000Integer only — no decimal point
Vietnamese DongVND050000Integer only — no decimal point
Chilean PesoCLP050000Integer only — no decimal point
Indian RupeeINR0500Enforced by API — decimals return amount: integer only
Thai BahtTHB2500.00 / 500.5Up to 2 decimal places
Brazilian RealBRL2100.50Up to 2 decimal places
Philippine PesoPHP2100.50Up to 2 decimal places
Mexican PesoMXN2500.00Up to 2 decimal places
Peruvian SolPEN2200.00Up to 2 decimal places
Colombian PesoCOP250000.00Up to 2 decimal places
Egyptian PoundEGP2100.50Up to 2 decimal places
TetherUSDTup to 40.1 / 200.0000Minimum 0.1; up to 4 decimal places

Examples

{
  "currency": "IDR",
  "amount": 10000
}