currency field accepts one of the following codes (typed as the Currency union in @reeple/sdk):
NGN
Nigerian Naira
USD
US Dollar
EUR
Euro
GBP
British Pound
KES
Kenyan Shilling
TZS
Tanzanian Shilling
GHS
Ghanaian Cedi
RWF
Rwandan Franc
XAF
Central African CFA Franc
XOF
West African CFA Franc
ZAR
South African Rand
UGX
Ugandan Shilling
AUD
Australian Dollar
CAD
Canadian Dollar
ETB
Ethiopian Birr
EGP
Egyptian Pound
MAD
Moroccan Dirham
MWK
Malawian Kwacha
ZMW
Zambian Kwacha
SLL
Sierra Leonean Leone
MUR
Mauritian Rupee
Amounts are in the smallest unit
Theamount field must always be passed in the smallest unit of the chosen currency:
| Currency | Smallest unit | To charge 50.00 |
|---|---|---|
NGN | kobo (1/100) | amount: 5000 |
USD | cents (1/100) | amount: 5000 |
GBP | pence (1/100) | amount: 5000 |
XOF | none (zero-decimal) | amount: 50 |
Adding a new currency requires an SDK update, since
Currency is a fixed TypeScript union. If you need a currency that isn’t listed here, contact Reeple.