Skip to content
ChainPesaDocsTest mode
Dashboard

Get started

Money and currencies

Stablecoins, local currencies, networks and how amounts are written.

SupportedDecimals
StablecoinsUSDT, USDC6
NetworksTRON, BSC, ETHEREUM
Local currenciesNGN, KES, GHS, UGX, TZS, XOF, XAF, CNY2

Amounts are strings in major units. Do your own arithmetic with a decimal type, not floating point.

Exchange rates

rate is units of local currency for 1 US dollar, locked when the object is created. A payment priced in local currency holds its rate for 30 minutes; a stablecoin payment expires after 60 minutes.

Test data

  • Rates in test mode are illustrative, not market rates.
  • A payout to an account number ending in 000 is rejected, so you can test a failure.