PaymonetraDocs

Bill payments

Buy airtime, data, cable TV, electricity, exam pins and international airtime for your users, paid from your available balance.

Terminal
curl https://api.paymonetra.com/v1/bills/services \
  -H "Authorization: Bearer sk_test_..."

#Who can use it

  • Test keys: always. Nothing real is bought, and the test balance is spent.
  • Live keys: Paymonetra switches it on for your business after a review. Test keys work straight away. Purchases and account checks are also accepted only from your listed server IPs (the same list as transfers, refunds and card issuing, on the dashboard under Developers, Server IPs).

#Reference and retries

A request refused before anything was bought (validation, limit, balance) does not use up its reference.

#Money

  • Each purchase comes out of the available balance (GET /balance → collected.ready).
  • amount is the face value delivered. charged is what came out of the balance.
  • By default charged equals amount. A business can be given its own discount per service (see discount_pct in GET /bills/services).
  • International airtime is priced in naira from a quote.
  • One daily limit covers all live API bill payments, in naira charged. A purchase that would pass it answers 422 daily_limit.
  • A failed purchase never stays charged. Either nothing was taken, or it went back the moment it failed.

#The bill object

A bill
{
  "id": "MB3F9A1C0D2E4B5A6C7D",
  "reference": "order-1042",
  "service": "electricity",
  "status": "successful",
  "biller": "Ikeja Electric",
  "recipient": "45012345678",
  "recipient_name": "ADA OBI",
  "plan": "Prepaid",
  "amount": 5000,
  "charged": 5000,
  "currency": "NGN",
  "mode": "live",
  "created_at": "2026-11-28T10:15:02+01:00",
  "completed_at": "2026-11-28T10:15:05+01:00",
  "token": "1234-5678-9012-3456-7890",
  "units": "52.3kWh"
}

status is one of:

  • successful: delivered;
  • processing: we are confirming it with the network, and the result follows by webhook, usually within 30 minutes;
  • failed: nothing delivered, and the balance is not charged. It carries failure_reason.

A bill shown successful can later turn failed if the provider reverses it. The money then returns to the balance, and bill.failed is sent.

Fields by service:

  • electricity: token (prepaid; null on postpaid, or while a token is still being fetched) and units.
  • exam: quantity, pins (array) and serials (array).
  • international_airtime: amount_usd, country, delivered (for example "500.00 GHS") and voucher_pin (operators that deliver a voucher instead of airtime). It has no recipient_name.
  • data, cable: plan.

#Where to next