100.50 naira, you send 10050 kobo.
Why least denomination?
- Accuracy
Working in the smallest unit avoids floating‑point rounding issues (e.g.
0.1 + 0.2 ≠ 0.3in many languages). - Consistency across endpoints All Payfonte endpoints that accept amounts (collections, disbursements, refunds, fees, etc.) expect the same format.
- Provider alignment Underlying payment processors, banks and wallets generally operate on integer minor units (kobo, cents, pesewas, etc.).
General rule
Send integer values only, representing the amount in the currency’s smallest unit.- XOF (Ivorian Franc) → centimes
- NGN (Nigerian Naira) → kobo
- GHS (Ghanaian Cedi) → pesewas
- KES (Kenyan Shilling) → cents
Example conversions
📘 Important Always convert on your side before hitting our endpoints. The API does not accept decimal amounts.
Example: Collections request
Below is an example request body for a collections endpoint where the customer is to be charged1,250.75 NGN.
Example: Disbursement request
For a payout of10,000.00 NGN to a beneficiary account, the amount field becomes 1000000 (kobo):
Common pitfalls
- Sending decimals
- ❌
"amount": 1250.75 - ✅
"amount": 125075
- ❌
- Mixing units
- Don’t send some requests in naira and others in kobo.
- Always standardize to the smallest denomination in your integration layer.