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

Send bulk SMS

Bearer ds_live_ / ds_test_
POST/api/v1/merchant/sms/send

Sends one SMS to up to 10,000 numbers. You are charged per page per recipient: one page is up to 160 characters; each page after that holds 153. The DND route (dnd: true) uses its own price, set in admin.

Language
curl -X POST "https://dataplanet.ng/api/v1/merchant/sms/send" \
  -H "Authorization: Bearer ds_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{
    "reference": "SMS-20261005-01",
    "sender": "AdaStores",
    "recipients": [
      "08031234567",
      "08123456789"
    ],
    "message": "Your order has been delivered. Thank you!"
  }'

Authentication

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

HeaderValueRequired
AuthorizationBearer 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
referencestringYesYour unique order reference and idempotency key (max 128 chars). Re-sending it returns the original transaction and never charges twice.
senderstringYesSender id, max 11 characters (letters, numbers, space, dot, dash).
recipientsarray | stringYesArray of numbers, or a comma / space / semicolon separated string. Duplicates are removed.
messagestringYesMessage text, max 1530 characters.
dndbooleanNoRoute through the DND channel, which has its own per-page price (default false).
billerstringNoSpecific SMS biller slug (defaults to the active SMS route).
narrationstringNoNote stored on the transaction (max 255 chars).

Responses

201 Created — Successful · 202 Accepted — Pending · 422 Unprocessable Entity — Failed (refunded)

{
  "status": "successful",
  "reference": "SMS-20261005-01",
  "channel": "api",
  "transaction_id": "FDS261005104230P7Q8R9S0",
  "category": "bulk_sms",
  "message": "Transaction successful.",
  "biller": "Bulk SMS",
  "biller_slug": "bulk-sms",
  "product": "SMS page",
  "plan": "SMS page",
  "customer_ref": "2 recipient(s)",
  "quantity": 2,
  "unit_amount": "4.00",
  "amount": "8.00",
  "face_amount": "8.00",
  "fee": "0.00",
  "discount": "0.00",
  "total_deducted": "8.00",
  "balance_before": "3343.00",
  "balance_after": "3335.00",
  "provider_reference": "PRV-88215420",
  "purchased_at": "2026-10-05T10:42:30+01:00"
}

Errors

Errors specific to this endpoint, in addition to the authentication and validation errors common to every request.

CodeHTTPWhen
INVALID_RECIPIENTS400One or more numbers are invalid, or there are 0 / more than 10,000 recipients. Nothing is charged.
INVALID_SENDER400Sender id is longer than 11 characters or has unsupported characters.
BILLER_NOT_FOUND404Unknown or inactive biller / network.
SERVICE_UNAVAILABLE503The service or biller is disabled or temporarily unavailable.
INVALID_AMOUNT400Amount is zero or outside the biller's minimum / maximum.
DAILY_LIMIT_EXCEEDED429Your daily spend limit for this service is reached.
TIER_MAX_BALANCE / TIER_DAILY_LIMIT / TIER_MONTHLY_LIMIT429An account tier limit is reached. Upgrade KYC to raise it.
INSUFFICIENT_BALANCE402Wallet balance is too low for this purchase.
WALLET_INACTIVE403Your wallet is frozen or not active.
WALLET_BUSY409Another request is updating your wallet. Retry with the same reference.
TRANSACTION_FAILED422The provider could not deliver. Your wallet was refunded.
DUPLICATE200 / 202 / 409The reference was already used. The original transaction is returned.

Notes

  • quantity is recipients × pages. SMS recipients are never saved as beneficiaries.
Previous · Betting, internet, voice & SMSBuy voiceNext · Recharge PINsNetworks

Developed by Scaler Developers