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

Update beneficiary

Bearer ds_live_ / ds_test_
PUT/api/v1/merchant/beneficiaries/{id}

Changes the label or customer name of a saved beneficiary. To change the number or biller, save a new beneficiary and delete the old one.

Language
curl -X PUT "https://dataplanet.ng/api/v1/merchant/beneficiaries/52" \
  -H "Authorization: Bearer ds_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{
    "label": "Mum'\''s DStv"
  }'

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

Path parameters

NameTypeRequiredDescription
idintegerYesBeneficiary id.

Body parameters

NameTypeRequiredDescription
labelstringNoNew nickname (max 60).
customer_namestringNoNew customer name (max 120).

Responses

200 OK — Updated · 404 Not Found — Not found

{
  "success": true,
  "message": "Beneficiary updated.",
  "data": {
    "id": 52,
    "user_id": 1042,
    "category": "cable",
    "biller_id": 12,
    "label": "Mum's DStv",
    "customer_ref": "7034567890",
    "customer_name": "JOHN DOE",
    "last_product_id": null,
    "last_amount": null,
    "metadata": null,
    "last_used_at": null,
    "created_at": "2026-10-05T10:50:00.000000Z",
    "updated_at": "2026-10-06T09:12:00.000000Z"
  }
}

Errors

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

CodeHTTPWhen
—404No beneficiary with this id on your account ({success: false, message} body).

Notes

  • Only label and customer_name can be changed; other fields are ignored.
Previous · BeneficiariesSave beneficiaryNext · BeneficiariesDelete beneficiary

Developed by Scaler Developers