Changelog
The API is versioned by date. Your integration is pinned to the version current when your account was created, so nothing changes underneath you.
Versioning policy
These are not breaking, and can ship at any time:
- Adding a new field to a response.
- Adding a new optional request parameter.
- Adding a new event type, endpoint, or error
code. - Changing the wording of a
message.
Write your integration to tolerate all of the above: ignore unknown fields, and never branch on message text.
These are breaking, and only ever arrive under a new dated version:
- Removing or renaming a field.
- Changing the type or meaning of an existing field.
- Adding a required parameter.
- Removing an endpoint, event type, or error code.
2026-11-23 — changes within the current version
-
Amounts must be whole paisa, sent as an integer. A JSON number with a decimal
point or exponent —
25000.0,2.5e4— is now refused with422 parameter_invalid, even when it is a whole number. Send25000, or the string"25000". Decimals were always meant to be refused rather than rounded; whole-number floats used to slip through. - Test mode is simulated: test payments never reach Fonepay, their QR cannot be paid, and
POST /v1/payments/{id}/simulatesettles them (new endpoint; newpayment.failedevent, test mode only). - New field
late_paymenton the payment object: set when a QR is paid after the payment expired or was canceled. The payment still moves tosucceeded. - Error envelopes for
404and validation errors now includedoc_url. - Rate limits are counted per API key, as documented, and a limited request answers
429withRetry-After.
2026-09-06 — current
First public release.
POST /v1/payments— create a payment and mint a Fonepay dynamic QR.GET /v1/payments,GET /v1/payments/{id},GET /v1/payments/{id}/qr.POST /v1/payments/{id}/cancel.GET /v1/events,GET /v1/events/{id}.GET /v1/balance— prepaid Qora credit, not sales revenue.- Signed webhooks:
payment.created,payment.succeeded,payment.expired,payment.canceled. Idempotency-Keyon all POST endpoints.- Cursor pagination via
starting_after.
Deprecation policy
When a version is superseded we will email every account using it and keep it working for at least twelve months. Nothing is removed without notice.