Skip to content

Aboki Data API v1

Sell data, airtime, power and TV from your own platform.

A REST API with JSON responses, amounts in kobo, test and live keys, a sandbox wallet and signed webhooks. Integrate once and sell all five Aboki Data services from your website, app or reseller portal.

New to Aboki Data? Create an account first, then open Profile → Developer.

Base URL https://api.abokidata.com/api/v1

POST /vtu/data/purchase
curl -X POST "https://api.abokidata.com/api/v1/vtu/data/purchase" \
  -H "Authorization: Bearer $ABOKI_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: ord_7Hk2pQ9xR4" \
  -d '{
  "sku": "DATA_MTN_SME_1GB",
  "phone_number": "08031234560",
  "reference": "your-order-1043"
}'
Response
{
  "success": true,
  "status_code": 200,
  "message": "Done. Order delivered.",
  "data": {
    "order_id": "0199f2a4-6c1e-7b3a-9d42-5e8f1a2b3c4d",
    "order_ref": "VTU-20261017-9A8B7C6D5E4F",
    "reference": "your-order-1043",
    "recipient": "08031234560",
    "face_value_kobo": 30000,
    "amount_debited_kobo": 28500,
    "status": "SUCCESS_SETTLED",
    "customer_status": "delivered",
    "money_location": "spent",
    "is_test": true
  }
}

What you get

Built for resellers and platforms that move money

Everything an integration needs to be correct the first time: predictable statuses, safe retries and events you can verify.

  • Five services, one wallet

    Data, airtime, power, TV and exam PINs on every network and biller we carry, paid from the same Aboki Data wallet you already use.

  • A sandbox that behaves like production

    Test keys spend from a separate ₦900,000 test wallet and never reach a network. The last digit of the recipient picks the outcome, so you can test success, failure, pending and refunds.

  • Signed webhooks

    Get order.success, order.failed, order.refunded and wallet.funded events signed with HMAC-SHA256, retried on failure and replayable from Developer settings.

  • Safe retries

    Every purchase takes an Idempotency-Key, and a configurable duplicate guard stops the same top-up going out twice.

  • Locked to your servers

    Restrict your keys to up to 20 IP addresses or CIDR ranges. Keys are stored hashed and shown to you once; generating a new one retires the old one at once.

  • Wholesale pricing for partners

    Every account can integrate at standard prices. API Partner accounts buy at wholesale API prices, with no daily spend limit.

How to start

From sign-up to your first live order

Most integrations need four endpoints: list products, buy, check an order and receive a webhook. Follow the quickstart →

  1. Step 1: Create an Aboki Data account

    Sign up in the web app or the Android app. The same account is used for the API.

  2. Step 2: Generate a test key

    Open Profile → Developer, confirm with your transaction PIN and copy your abk_test_ key. It is shown once.

  3. Step 3: Build against the sandbox

    Make purchases from your test wallet, receive test webhooks and handle every outcome.

  4. Step 4: Switch to your live key

    Generate an abk_live_ key, set your IP allowlist and webhook URL, fund your wallet and go live.

Pricing tiers

Two account types

Customer

Standard prices

Every account can create test and live keys and integrate straight away. Purchases are charged at the same prices you see in the app.

API Partner

Wholesale prices

For resellers and platforms. Products return wholesale API prices, the catalogue shows exactly what you will pay, and the daily spend limit does not apply. Email the partner team to upgrade your account.

partners@abokidata.com →

Ready to integrate?

Create your account, generate a test key and make your first sandbox purchase.