Bill providers
VTpass sells Nigeria's bills; Fonbnk is built for Kenya and Ghana airtime and switched off. Only the provider's own answer settles an order.
VTpass (Nigeria)
Airtime, data, electricity, TV and exam PINs. Before buying, Todoku stores the request id (Lagos YYYYMMDDHHmm + 12 random characters) and the dispatch time; it calls pay once and never repeats it blindly. A second purchase to the same biller account within 31 seconds waits for the gap to pass.
| VTpass answers | Todoku does |
|---|---|
Delivered (000), with a token or PINs when the product has them | Delivered → release |
016 or failed | Failed → refund |
091 (not processed) | Failed → refund |
040 or reversed | Failed → refund (reason 2) |
013 / 017 (below minimum / above maximum), account and request errors, biller down | Failed → refund |
018 (Todoku's float is empty) | Refund if it was the purchase; the float breaker closes the provider |
015 (no record) | Pending; failed once the request id's Lagos day has passed |
019 (repeat within the window) | Nothing bought: retried with a fresh request id for up to 15 minutes, then refunded |
099, 089, a timeout, anything else | Pending → ask again |
Pending orders are asked again after 15 seconds, then 1 minute later, then 5 minutes later, then every 15 minutes. After 24 hours still pending, the order goes to an operator (needs_review) and keeps being asked. VTpass webhooks are only a hint to ask now.
Fonbnk (Kenya and Ghana)
Safaricom, Airtel and Telkom in Kenya; MTN, Telecel and AT in Ghana, paid from Todoku's merchant balance in dollars. Requests are signed with HMAC-SHA256 and webhooks are verified on the raw body. payout_successful releases; any refund_* refunds; a deposit that goes nowhere for 30 minutes fails.
Switched off
Fonbnk is built and tested against its documented API but switched off (provider:fonbnk) until Fonbnk enables order creation for Todoku's account. While it is off, the Kenya and Ghana switch doesn't appear in the app.