Skip to main content

MoneyDTO

The MoneyDTO object is used to represent monetary amounts in various currencies. It includes information about the amount, currency, and the number of decimal places (subunits).

Field Descriptions

NameTypeDescription
amountstringAmount in the base currency, represented as a string to maintain precision (e.g., "10.00000000").
currencystringAccount currency in ISO 4217 format (e.g., USDT).
subunitintegerNumber of decimal places used to represent fractional values of the currency.

Example

{
"amount": "10.00000000",
"currency": "USDT",
"subunit": 8
}


```json
{
"amount": "10.00000000",
"currency": "USDT",
"subunit": 8
}