Skip to main content
POST
/
purchaseCableTV
Purchase Cable TV
curl --request POST \
  --url https://api.bleeprs.com/api/purchaseCableTV \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount": 15700,
  "smartcard": "8093245829",
  "phone": "08000000000",
  "provider": "DSTV",
  "bouquetCode": "db4"
}
'
{
  "gatewayStatus": "00",
  "gatewayMessage": "Successfully Processed",
  "requestReference": "bpr_req_a1b2c3d4e5f6",
  "data": {
    "status": "SUCCESS",
    "reference": "b8c3a1b2-1024-4f5c-89de-d93a7c6b98e1"
  }
}

Overview

Purchase a subscription package for a validated Cable TV smartcard. The subscription will be activated instantly.

Notes

  • If the response returns gatewayStatus: "01" (Pending), wait 2 minutes and 1 second before calling the Requery API.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
amount
number
required

Amount of the subscription package to purchase

Example:

15700

smartcard
string
required

The validated customer smartcard or IUC number

Example:

"8093245829"

phone
string
required

The customer phone number

Example:

"08000000000"

provider
string
required

The Cable TV provider

Example:

"DSTV"

bouquetCode
string
required

The specific package or bouquet code

Example:

"db4"

Response

200 - application/json

Successfully Processed

gatewayStatus
string
Example:

"00"

gatewayMessage
string
Example:

"Successfully Processed"

requestReference
string
Example:

"bpr_req_a1b2c3d4e5f6"

data
object