DataplanetDataplanetDevelopers
HomeSign inGet API keyAPI key

Dataplanet Developers

API Documentation

Merchant REST API for data, airtime, electricity, cable TV, exam PINs, betting and more. Build in the sandbox with test money, then go live with one key change.

JSON over HTTPS Free sandbox Signed webhooks

Base URL

https://dataplanet.ng

https://dataplanet.ng

Getting started

IntroductionAuthenticationResponses & statusesError codes

MSORG website slot

MSORG slotMSORG buy dataPOSTMSORG buy airtimePOSTMSORG balanceGETMSORG requeryGET

Sandbox & testing

Sandbox & testingReset sandbox walletPOST

Wallet & catalog

Wallet balanceGETList billersGETBiller productsGET

Data & airtime

Buy dataPOSTBuy airtimePOSTBulk dataPOSTBulk airtimePOSTBulk order statusGET

Electricity & cable TV

Verify meterPOSTBuy electricityPOSTVerify smartcardPOSTBuy cablePOST

Exam PINs, gift cards & eSIM

Exam PINsPOSTBuy gift cardPOSTBuy eSIMPOST

Betting, internet, voice & SMS

Verify betting IDPOSTFund bettingPOSTVerify internet accountPOSTBuy internetPOSTBuy voicePOSTSend bulk SMSPOST

Recharge PINs

NetworksGETDenominationsGETBuy recharge PINsPOSTList PIN ordersGETGet PIN orderGET

Beneficiaries

List beneficiariesGETSave beneficiaryPOSTUpdate beneficiaryPUTDelete beneficiaryDEL

Transactions

List transactionsGETGet transactionGET

Webhooks

Overview & signatureGet webhook settingsGETSet webhook URLPUTDisable webhookDELSend test webhookPOSTList deliveriesGETResend deliveryPOST
Get an API key

List billers

Bearer ds_live_ / ds_test_
GET/api/v1/merchant/billers

Returns every biller enabled for your account from the live Django catalog (networks, discos, cable providers, exam bodies, betting platforms…). Plans and prices follow Website Configuration + admin Plans / Cable / Disco / Betting providers — including VendPower-imported rows. Always call this endpoint; never hard-code biller slugs or plan ids. Use the biller slug as biller and the plan id as product_id in purchases. Dashboard/session clients use GET /api/v1/catalog/billers (same shape).

Live product catalog

Prices depend on your account pricing group. Sign in to browse the billers and plans, and copy the slugs and plan ids you need for API requests.

Sign in to view catalog
Language
curl -X GET "https://dataplanet.ng/api/v1/merchant/billers?category=data,airtime&include_plans=true" \
  -H "Authorization: Bearer ds_live_YOUR_KEY" \
  -H "Accept: application/json"

Authentication

Send your secret API key in the header. Authorization: Token … and X-API-Key: … are also accepted.

HeaderValueRequired
AuthorizationBearer ds_live_YOUR_KEYYes
Acceptapplication/jsonRecommended

Authentication failures (401 UNAUTHORIZED, 403 IP_NOT_ALLOWED / ACCOUNT_SUSPENDED / API_ACCESS_NOT_APPROVED, 429 RATE_LIMITED) are listed in Authentication.

Parameters

Query parameters

NameTypeRequiredDescription
categorystringNoComma-separated categories: data, airtime, electricity, cable, education, betting, internet, voice, bulk_sms, rechargepin, giftcard, esim. exam is accepted as an alias for education. Only categories enabled for the API are returned.
include_plansbooleanNoInclude each biller's plans (default true). Send false for a lighter response.

Responses

200 OK — OK

{
  "count": 2,
  "data": [
    {
      "id": 7,
      "name": "MTN Airtime",
      "slug": "mtn-airtime",
      "code": "MTN",
      "category": "airtime",
      "network": "MTN",
      "logo_url": "https://cdn.example.com/billers/mtn.png",
      "description": "MTN VTU airtime",
      "status": "active",
      "sort_order": 1,
      "is_featured": true,
      "supports_validation": false,
      "min_amount": 50,
      "max_amount": 50000,
      "airtime_type": "VTU",
      "rate_per_100": 97,
      "cashback_per_100": 0,
      "plans": []
    },
    {
      "id": 3,
      "name": "MTN Data",
      "slug": "mtn-data",
      "code": "MTN",
      "category": "data",
      "network": "MTN",
      "logo_url": "https://cdn.example.com/billers/mtn.png",
      "description": "MTN data bundles",
      "status": "active",
      "sort_order": 1,
      "is_featured": true,
      "supports_validation": false,
      "min_amount": null,
      "max_amount": null,
      "plans": [
        {
          "id": 212,
          "name": "MTN SME 1GB - 30 Days",
          "code": "mtn-sme-1gb",
          "description": "",
          "size": "1GB",
          "plan_type": "SME",
          "plan_type_slug": "sme",
          "amount": 500,
          "currency": "NGN",
          "validity_days": 30,
          "is_variable_amount": false,
          "min_amount": null,
          "max_amount": null,
          "sort_order": 1,
          "is_special": false,
          "effective_amount": 480,
          "effective_fee": 0,
          "effective_total": 480,
          "cashback": 0,
          "benefit_type": "discount",
          "benefit_label": "₦20.00 off"
        }
      ]
    }
  ]
}

Notes

  • Airtime billers also return airtime_type (e.g. VTU, Share and Sell, Awuf4U, Me2U), rate_per_100 (what you pay per ₦100 of airtime) and cashback_per_100. Each type is its own biller on the same network, so a network can have any number of types.
  • plan_type groups plans (e.g. SME, CG, Gifting). Types can be added or renamed at any time, so build your menus from this response instead of hard-coding them.
  • Only plans, types and billers that are on sale are listed. One that is switched off disappears from this list, and buying it returns PRODUCT_NOT_FOUND (plan) or SERVICE_UNAVAILABLE (biller or airtime type).
  • effective_total is what you will be charged for a plan. cashback is what this plan pays back to your cashback wallet after a successful purchase; benefit_type is discount, cashback or null and benefit_label is ready to show, e.g. ₦20.00 cashback.
Previous · Wallet & catalogWallet balanceNext · Wallet & catalogBiller products

Developed by Scaler Developers