Bills PaymentsTVTV Validate

TV Validation

This endpoint validates a TV subscription account using the provided TV service provider and IUC (smartcard) number sent in the request body.

Endpoint

POST https://backendapi.sayswitchgroup.com/api/v1/tv/validate

cURL Request Example

curl -X POST https://backendapi.sayswitchgroup.com/api/v1/tv/validate \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_SECRET_KEY" \
  -d '{
    "provider": "GOTV",
    "number": "2019505346"
}'

Example Response

{
  "code": "000",
  "content": {
    "Customer_Name": "John Doe",
    "Status": "Closed",
    "Due_Date": "2025-05-27T00:00:00",
    "Current_Bouquet": "",
    "Current_Bouquet_Price": "",
    "Current_Bouquet_Code": "UNKNOWN",
    "Renewal_Amount": "11400",
    "Customer_Type": "GOTV",
    "Customer_Number": "2019505346"
  }
}

Response Fields

FieldTypeDescription
codestringStatus code (“000” means successful validation)
content.Customer_NamestringFull name of the TV customer
content.StatusstringAccount status (“Active”, “Closed”, etc.)
content.Due_DatestringDue date for the subscription (ISO 8601 format)
content.Current_BouquetstringName of the currently active bouquet
content.Current_Bouquet_PricestringPrice of the current bouquet (may be empty)
content.Current_Bouquet_CodestringInternal bouquet code (“UNKNOWN” if not found)
content.Renewal_AmountstringAmount to renew the subscription
content.Customer_TypestringProvider name (e.g., “GOTV”)
content.Customer_NumberstringThe validated IUC or smartcard number