> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bilalsadasub.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Cable Subscription



## OpenAPI

````yaml POST /api/cable
openapi: 3.1.0
info:
  title: Bilalsadasub API
  version: 1.0.0
  description: >-
    Bilalsadasub developer API — buy data, airtime, cable, electricity, bulk
    SMS, exam pins, airtime-to-cash and flights, funded from your wallet.
servers:
  - url: https://bilalsadasub.com
    description: Production (live — charges your wallet)
security:
  - TokenAuth: []
tags:
  - name: Purchases
  - name: Verification
  - name: Betting
  - name: eSIM
  - name: Flights
  - name: Wallet
  - name: Catalogs
  - name: Account
paths:
  /api/cable:
    post:
      tags:
        - Purchases
      summary: Cable Subscription
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - cable
                - cable_plan
                - iuc
                - bypass
              properties:
                cable:
                  type: integer
                  description: Cable provider ID (from GET /api/cable-plans)
                  example: 1
                cable_plan:
                  type: integer
                  description: Cable subscription plan ID
                  example: 12
                iuc:
                  type: string
                  description: IUC / SmartCard number
                  example: '1234567890'
                bypass:
                  type: integer
                  enum:
                    - 0
                    - 1
                  description: >-
                    0 = validate IUC first; 1 = skip validation (only after a
                    successful verify call)
                  example: 0
                request-id:
                  type: string
                  description: >-
                    Your unique reference (idempotency key). Reuse with GET
                    /api/requery/{reference}. Optional - one is generated if
                    omitted.
                  example: Cable_1234567890
      responses:
        '200':
          description: Result
          content:
            application/json:
              example:
                status: success
                message: DStv Padi renewed on 1234567890.
                newbal: 109925
                system: API
components:
  securitySchemes:
    TokenAuth:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        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.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.