Skip to main content
POST
/
business
/
vas
/
cable-tv
/
purchase
Pay a cable subscription 🔒
curl --request POST \
  --url https://api-staging.usenumero.com/numeroaccount/api/v1/business/vas/cable-tv/purchase \
  --header 'Content-Type: application/json' \
  --header 'X-Numero-Api-Key: <api-key>' \
  --header 'X-Numero-Signature: <api-key>' \
  --data '
{
  "reference": "<string>",
  "type": "<string>",
  "code": "<string>",
  "smartCardNo": "<string>",
  "renewal": true,
  "amount": 123,
  "validationCode": "<string>"
}
'
{ "status": true, "message": "Successful", "code": "200", "data": { "success": true, "status": "completed", "message": "Subscription successful", "reference": "TV-20240115-001" } }

Authorizations

X-Numero-Api-Key
string
header
required

Your business API key (live_key_...). Issued on approval; managed in Dashboard → Settings → Developer.

X-Numero-Signature
string
header
required

Base64(HMAC-SHA256(secretApiKey, input)) over the raw request body (POST) or canonicalized query string (signed GET). Also send X-Numero-Signature-Version: v2. Required on money-movement / state-changing endpoints (marked 🔒).

Body

application/json
reference
string
required
type
string
required

Provider, e.g. dstv/gotv/startimes.

code
string
required

Bouquet code.

smartCardNo
string
required
renewal
boolean
default:true
amount
number
validationCode
string

Response

Successful response

Canonical response envelope for the public surface. data on success, error on failure.

data
any
required

Endpoint payload on success (object or array); null on failure.

error
object
required
meta
object
required