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

Recharge PIN networks

Bearer ds_live_ / ds_test_
GET/api/v1/merchant/recharge-pin/networks

Lists the networks you can buy printable recharge card PINs for. The response is a bare JSON array. Use a network’s slug (or id) as biller on the denominations and purchase calls.

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/recharge-pin/networks" \
  -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

This endpoint takes no parameters.

Responses

200 OK — OK

[
  {
    "id": 41,
    "name": "MTN Recharge PIN",
    "slug": "mtn-recharge-pin",
    "network": "MTN",
    "logo_url": "https://cdn.example.com/billers/mtn.png",
    "category": "rechargepin",
    "description": "Printable MTN recharge cards",
    "status": "active"
  }
]
Previous · Betting, internet, voice & SMSSend bulk SMSNext · Recharge PINsDenominations

Developed by Scaler Developers