Skip to main content
POST
Cable Subscription

Authorizations

Authorization
string
header
required

Send your API key as Token <your_api_key>.

Use your live key for real transactions, or your sandbox key (sk_test_…) to test — sandbox calls return a realistic simulated result and never touch your wallet. Add "sandbox_status": "fail" to any sandbox request to simulate a failure.

Body

application/json
cable
integer
required

Cable provider ID (from GET /api/cable-plans)

Example:

1

cable_plan
integer
required

Cable subscription plan ID

Example:

12

iuc
string
required

IUC / SmartCard number

Example:

"1234567890"

bypass
enum<integer>
required

0 = validate IUC first; 1 = skip validation (only after a successful verify call)

Available options:
0,
1
Example:

0

request-id
string

Your unique reference (idempotency key). Reuse with GET /api/requery/{reference}. Optional - one is generated if omitted.

Example:

"Cable_1234567890"

Response

200 - application/json

Result