← Slimpay.ng

Used by every "Try It" panel across these docs to call app.slimpay.ng for real. Get one from Authentication — register or log in, then paste the token here. Stored only in this browser (localStorage), never sent anywhere but the Slimpay API, and auto-cleared after 8 hours.

Bills & Utilities

Cable TV

Covers DStv, GOtv, and Startimes. Same pattern as electricity — validate the smartcard first, then buy.

List plans

GET /bills/cable/plans Requires Auth
bash
curl "https://app.slimpay.ng/api/v1/bills/cable/plans?provider=DSTV" \
  -H "Authorization: Bearer {token}"
GET /bills/cable/plans

Validate a smartcard

POST /bills/cable/validate Requires Auth
bash
curl https://app.slimpay.ng/api/v1/bills/cable/validate \
  -H "Authorization: Bearer {token}" \
  -H "Content-Type: application/json" \
  -d '{ "provider": "DSTV", "smartcard_number": "1234567890" }'
POST /bills/cable/validate
json
{
  "status": true,
  "data": { "customer_name": "OBINNA JOHN SAMUEL", "current_bouquet": "Compact" }
}

Subscribe

POST /bills/cable Requires Auth
bash
curl https://app.slimpay.ng/api/v1/bills/cable \
  -H "Authorization: Bearer {token}" \
  -H "Content-Type: application/json" \
  -d '{
    "provider": "DSTV",
    "smartcard_number": "1234567890",
    "plan_id": "dstv-compact-plus",
    "amount": 15000,
    "transaction_pin": "1234"
  }'
POST /bills/cable