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 — requery order

Token ds_live_ / ds_test_
GET/api/data/{id}

Look up a previous MSORG order by numeric transaction id or by ident / customer_ref. Returns the same DataSerializer shape (HTTP 201).

Language
curl -X GET "https://dataplanet.ng/api/data/ORDER-2001" \
  -H "Authorization: Token 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
AuthorizationToken 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

Path parameters

NameTypeRequiredDescription
idstringYesNumeric transaction id, or the ident / customer_ref from the purchase response.

Responses

201 Created — Order found · 404 Not Found — Not found

{
  "id": 12,
  "ident": "FDS261105120001ABCDEF",
  "plan_type": "SME",
  "data_type": "SME",
  "duration": "30 days",
  "customer_ref": "ORDER-2001",
  "network": 1,
  "balance_before": "5000.00",
  "balance_after": "4700.00",
  "mobile_number": "08031234567",
  "plan": 1001,
  "Status": "successful",
  "plan_network": "MTN",
  "plan_name": "1GB 30 Days",
  "plan_amount": "300.00",
  "create_date": "2026-11-12T10:00:00+01:00",
  "Ported_number": true,
  "api_response": "You have successfully purchased 1GB 30 Days for 08031234567.",
  "provider_source": ""
}
Previous · MSORG website slotMSORG balanceNext · Sandbox & testingSandbox & testing

Developed by Scaler Developers