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

# Get cable plans

> Returns cable plans with `planId` for POST /api/v1/cable/buy. Filter by product name (e.g. GOTV, DSTV).



## OpenAPI

````yaml api-reference/openapi.json GET /api/v1/plans/cable
openapi: 3.1.0
info:
  title: Dancity API
  description: >-
    Paths below match the server base URL + global prefix `api`. Merchant:
    `Authorization: Bearer dcy_live_...` and `channel: API`. App: JWT. See
    Guides for flows.
  version: 1.0.0
servers:
  - url: https://api.dancity.app
    description: Production
  - url: http://localhost:6565
    description: Local development
security: []
tags:
  - name: VAS
    description: >-
      Merchant API (`/api/v1`): catalog GETs (wallet, services, products, plans)
      and purchase routes; `channel: API` on POST buys; app education & betting
      where listed
  - name: Products & services
    description: 'Catalog GETs: all services; products and plans with optional query filters'
  - name: Wallet
    description: Get wallet by id (JWT)
  - name: Transactions
    description: Fetch your transactions and requery one by id for current status
  - name: Betting
    description: Betting funding
  - name: Education
    description: Education pins
  - name: eSIM
    description: eSIM catalog and purchase
  - name: Webhook
    description: Outbound events Dancity POSTs to your configured HTTPS URL
paths:
  /api/v1/plans/cable:
    get:
      tags:
        - Products & services
      summary: Get cable plans
      description: Filter by product name from GET /api/v1/products.
      parameters:
        - name: product
          in: query
          description: Product name from GET /api/v1/products (e.g. DSTV, GOTV, Startimes).
          example: GOTV
          schema:
            type: string
            example: GOTV
      responses:
        '200':
          description: OK
          content:
            application/json:
              example:
                message: SUCCESS
                data:
                  - _id: 66eebbe090fec69424007967
                    product: GOTV
                    plan: GOtv Supa Plus - monthly N16,800
                    price: 16800
                    planId: GOtv_Supa_Plus_monthly_N16_800
                  - _id: 66eebc0a90fec6942400796e
                    product: GOTV
                    plan: GOtv Supa - monthly N11,400
                    price: 11400
                    planId: GOtv_Supa_monthly_N11_400
                  - _id: 66eebd3a90fec694240079d0
                    product: GOTV
                    plan: GOtv Jolli N5,800
                    price: 5800
                    planId: GOtv_Jolli_N5_800
                  - _id: 66eebd4490fec694240079d7
                    product: GOTV
                    plan: GOtv Jinja N3,900
                    price: 3900
                    planId: GOtv_Jinja_N3_900
                  - _id: 66eebd5290fec694240079de
                    product: GOTV
                    plan: GOtv Smallie - monthly N1900
                    price: 1900
                    planId: GOtv_Smallie_monthly_N1900
                  - _id: 66eebd6290fec694240079e5
                    product: GOTV
                    plan: GOtv Smallie - quarterly N5,100
                    price: 5100
                    planId: GOtv_Smallie_quarterly_N5_100
                  - _id: 66eebd6f90fec694240079ec
                    product: GOTV
                    plan: GOtv Smallie - yearly N15,000
                    price: 15000
                    planId: GOtv_Smallie_yearly_N15_000
                  - _id: 6798708ea30810e1d179bdd2
                    product: GOTV
                    plan: GOtv Max N8,500
                    price: 8500
                    planId: GOtv_Max_N8_500
                  - _id: 69e09ddf2023e9b41b448e8e
                    product: GOTV
                    plan: GOtv Max
                    price: 8500
                    planId: GOtv_Max
              schema:
                type: object
                required:
                  - message
                  - data
                properties:
                  message:
                    type: string
                    example: SUCCESS
                  data:
                    type: array
                    items:
                      type: object
                      required:
                        - _id
                        - product
                        - plan
                        - price
                        - planId
                      properties:
                        _id:
                          type: string
                        product:
                          type: string
                          description: Cable product name (e.g. DSTV, GOTV)
                        plan:
                          type: string
                          description: >-
                            planId from GET /api/v1/plans/cable — use as
                            `cableplan` in POST /api/v1/cable/buy
                        price:
                          type: number
                          description: Price in NGN
                        planId:
                          type: string
                          description: Use as `cableplan` in POST /api/v1/cable/buy
                      additionalProperties: false
              examples:
                gotvPlans:
                  summary: GOTV cable plans
                  value:
                    message: SUCCESS
                    data:
                      - _id: 66eebbe090fec69424007967
                        product: GOTV
                        plan: GOtv Supa Plus - monthly N16,800
                        price: 16800
                        planId: GOtv_Supa_Plus_monthly_N16_800
                      - _id: 66eebc0a90fec6942400796e
                        product: GOTV
                        plan: GOtv Supa - monthly N11,400
                        price: 11400
                        planId: GOtv_Supa_monthly_N11_400
                      - _id: 66eebd3a90fec694240079d0
                        product: GOTV
                        plan: GOtv Jolli N5,800
                        price: 5800
                        planId: GOtv_Jolli_N5_800
                      - _id: 66eebd4490fec694240079d7
                        product: GOTV
                        plan: GOtv Jinja N3,900
                        price: 3900
                        planId: GOtv_Jinja_N3_900
                      - _id: 66eebd5290fec694240079de
                        product: GOTV
                        plan: GOtv Smallie - monthly N1900
                        price: 1900
                        planId: GOtv_Smallie_monthly_N1900
                      - _id: 66eebd6290fec694240079e5
                        product: GOTV
                        plan: GOtv Smallie - quarterly N5,100
                        price: 5100
                        planId: GOtv_Smallie_quarterly_N5_100
                      - _id: 66eebd6f90fec694240079ec
                        product: GOTV
                        plan: GOtv Smallie - yearly N15,000
                        price: 15000
                        planId: GOtv_Smallie_yearly_N15_000
                      - _id: 6798708ea30810e1d179bdd2
                        product: GOTV
                        plan: GOtv Max N8,500
                        price: 8500
                        planId: GOtv_Max_N8_500
                      - _id: 69e09ddf2023e9b41b448e8e
                        product: GOTV
                        plan: GOtv Max
                        price: 8500
                        planId: GOtv_Max
        '401':
          description: Unauthorized
          content:
            application/json:
              example:
                success: false
                message: Invalid API key or IP not allowlisted
                statusCode: 401
        '500':
          description: Internal server error
          content:
            application/json:
              example:
                success: false
                message: Sorry, something went wrong. Please try again later
                statusCode: 500
      security:
        - DancityApiKey: []
components:
  securitySchemes:
    DancityApiKey:
      type: http
      scheme: bearer
      bearerFormat: dcy_live_...
      description: Merchant API key from the Dancity dashboard.

````

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