Omni Way developer docs v1.0.0
Products ยท Utility Payments

Utility Payments

Turn your balance into stock you can sell: airtime and utility products, paid for from your platform balance, with provider commissions credited back to you on every sale.

Make a sale

curl https://omniway.online/v1/utilities/payments \
  -H "Authorization: Bearer sk_live_..." -H "Content-Type: application/json" \
  -H "Idempotency-Key: airtime-0611-021" \
  -d '{
    "provider": "ECONET",
    "provider_product": "AIRTIME",
    "amount_cents": 100,
    "currency": "USD",
    "destination_account": "3007720001110",
    "narration": "Airtime โ€” counter sale"
  }'
{
  "id": "โ€ฆ",
  "object": "utility_payment",
  "status": "completed",
  "provider": "ECONET",
  "provider_product": "AIRTIME",
  "amount_cents": 100,
  "fees": [],
  "commissions": [
    { "name": "Commission", "description": "DebitCommission", "amount": "3" }
  ],
  "reference": "POSMB3KA01XYZ12"
}

How the money moves

01

Debit

The face value (utility_sale, โˆ’100) leaves your balance โ€” only if it fits, same no-overdraft rules as payouts.

โ†’
02

Deliver

The provider credits the customer's account/phone. The customer pays you cash (or you price it into a basket).

โ†’
03

Commission

Any provider commission (utility_commission, +3) is credited back to your balance automatically.

If the provider call fails, the sale is marked failed and your debit is compensated automatically โ€” your statement shows both lines, your balance is whole.

Fields

FieldRequiredNotes
provideryesProvider code, e.g. ECONET. Your account's enabled providers are agreed at onboarding.
provider_productyesProduct within the provider, e.g. AIRTIME.
amount_cents / currencyyesFace value in cents; USD or ZWG.
destination_accountyesThe account being topped up โ€” resolve a phone number with account lookup first.
additional_datanoProvider-specific extras (object), passed through as required by the product.
โœฆ
Float management

Utility sales draw on the same balance as payouts โ€” if you sell a lot of airtime, schedule payouts so you keep enough float. Your CSV statement separates utility_sale and utility_commission lines for margin tracking per day.

Omni Way is the financial core; your storefront or till is the surface it powers. Integrate once and the same ledger, payouts and reporting work across every product you adopt.

omniway.online ยท InnBucksPowered by InnBucks (MicroBank Limited) ยท USD & ZWG.