Developers

Build on the Commerce OS for Africa

One API for African commerce — stores, products, orders, M-Pesa, Paystack, Wave, EFT, and WhatsApp checkout. Multi-currency. Multi-language. Built here.

Sandbox is free. Pay only on first live payment.

Stores, products, orders

REST resources for the entire commerce object graph. Pagination, filtering, idempotency keys.

Africa-native payments

One charge endpoint. M-Pesa STK push, Paystack, Wave, manual EFT proof — same payload.

Webhooks you can trust

HMAC-signed events: order.paid, payment.success, store.published, partner.commission.

WhatsApp checkout API

Send a checkout link to any WhatsApp number. Reply-to-buy, order confirmations, receipts.

Multi-currency, multi-language

ZAR, NGN, KES, XOF, MAD, USD. EN, FR, SW, AR, ZU. Live FX endpoint included.

Sandbox + sane defaults

Test keys, seeded fixtures, predictable errors. No 4-week onboarding call required.

Quickstart

Charge an M-Pesa payment in 6 lines. No SDK required.

cURL · POST /v1/payments/charge200 OK
curl https://api.ubuntubizbox.com/v1/payments/charge \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "method": "mpesa",
    "amount_cents": 45000,
    "currency": "KES",
    "msisdn": "+254712345678",
    "order_id": "ord_01HXYZ"
  }'
Auth

Bearer token. Per-environment keys (sk_test_ / sk_live_). Rotate any time from your dashboard.

Webhook signing

HMAC-SHA256 over the raw body using your endpoint secret. We retry with backoff for 24h.

Core endpoints

The full reference covers ~80 endpoints. Here's the spine.

POST
/v1/storesCreate a store (template, currency, language)
GET
/v1/stores/:idFetch store + theme + storefront URL
POST
/v1/productsCreate or bulk-import products
POST
/v1/ordersCreate an order (cart → checkout)
POST
/v1/payments/chargeCharge via M-Pesa, Paystack, Wave, EFT
POST
/v1/whatsapp/checkoutSend a WhatsApp checkout link
POST
/v1/webhooksRegister a webhook endpoint
GET
/v1/fxLive FX rates: ZAR, NGN, KES, XOF, MAD, USD

Stop wiring African payments yourself.

What takes 18 months to integrate — M-Pesa, Paystack, Wave, EFT, WhatsApp Business — is one Bearer token here.