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

MSORG — buy airtime

Token ds_live_ / ds_test_
POST/api/topup/

MSORG-compatible POST /api/topup/. Same Status / HTTP 201 contract as buy data.

Language
curl -X POST "https://dataplanet.ng/api/topup/" \
  -H "Authorization: Token ds_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{
    "network": 1,
    "mobile_number": "08031234567",
    "amount": 100,
    "airtime_type": "VTU",
    "Ported_number": true
  }'

Authentication

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

HeaderValueRequired
AuthorizationToken ds_live_YOUR_KEYYes
Content-Typeapplication/jsonYes
Acceptapplication/jsonRecommended

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

Parameters

Body parameters

NameTypeRequiredDescription
networkintegerYesMSORG network id (1–4).
mobile_numberstringYesBeneficiary MSISDN.
amountnumberYesFace value in Naira.
airtime_typestringNoe.g. VTU (default). Also accepts plan_type.
Ported_numberbooleanNoDefault true.
customer_refstringNoOptional idempotency key.

Responses

201 Created — Successful order · 400 Bad Request — Invalid network

{
  "id": 14,
  "ident": "FDS261105120003ABCDEF",
  "plan_type": "VTU",
  "data_type": "VTU",
  "duration": "",
  "customer_ref": "",
  "network": 1,
  "balance_before": "4700.00",
  "balance_after": "4602.00",
  "mobile_number": "08031234567",
  "Status": "successful",
  "plan_network": "MTN",
  "plan_name": "",
  "plan_amount": "98.00",
  "amount": "100.00",
  "paid_amount": "98.00",
  "airtime_type": "VTU",
  "create_date": "2026-11-12T10:01:00+01:00",
  "Ported_number": true,
  "api_response": "You have successfully topped up ₦100.00 on 08031234567.",
  "provider_source": ""
}
Previous · MSORG website slotMSORG buy dataNext · MSORG website slotMSORG balance

Developed by Scaler Developers