Transactions
A guide explainer on the currency format of returned API transactional values.
Amount responses sent across all of Maplerad's APIs are returned in the smallest possible unit of the respective countries as an integer value, and not as a float/decimal value.
For example, in Naira (NGN) when an amount returns a value of 10000, it's the kobo value that is been returned. You can then go ahead to divide this amount by 100 so as to get the respective value which is a NGN 100.00.
i.e 10000 kobo / 100 = NGN 100
Taking US Dollars (USD) for instance, when we return an amount of 10000, you can divide this amount by 100 to get the value in dollars ie 10000 cents = 100 USD
Note
The same applies to all of our supported country currencies.
Updated over 2 years ago