API Reference
Cable TV: Startimes
Cable TV: Startimes
Service to recharge Startimes cable TV account. The process consists of three main steps:
- 🔍 Validate the SmartCard Number
- 📦 Retrieve Available Packages
- ⚡ Complete the Package Purchase
SmartCard Validation
POSTService Information
baseUrl/api/v1/starvalidate1
POST
| Parameter Name | Type | M/O | Description |
|---|---|---|---|
| loginId | Numeric | M | Merchant id provided during integration |
| key | String | M | Merchants (public) key |
| checksum | String | M | Checksum computed for the request. See "Security: Checksum" section for hash computation steps |
| smartCardCode | String | M | Smart card code. |
{
"loginId": "{{loginId}}",
"smartCardCode": "01467291535",
"key": "{{publicKey}}",
"checksum": "{{checkSum}}"
}
{
"statusCode": "00",
"statusDescription": "successful",
"customerName": "JIMI",
"balance": null,
"smartCardCode": "01467291535"
}
Startimes Fetch Products
POSTService Information
baseUrl/api/v1/startimes/fetchProductList
POST
| Parameter Name | Type | M/O | Description |
|---|---|---|---|
| loginId | Numeric | M | Merchant id provided during integration |
| key | String | M | Merchant’s (public) key |
{
"loginId": {{loginId}},
"key": {{publicKey}}
}
{
"statusCode": "00",
"statusDescription": {
"items": [
{
"availablePricingOptions": [
{
"price": "11200",
"invoicePeriod": "1"
}
],
"code": "S50-4Weeks",
"name": "SHS-Payment-11200(4Weeks)"
},
{
"availablePricingOptions": [
{
"price": "1300",
"invoicePeriod": "1"
}
],
"code": "S350-Daily",
"name": "SHS-Payment-1300(Daily)"
},
{
"availablePricingOptions": [
{
"price": "1400",
"invoicePeriod": "1"
}
],
"code": "DTT_Basic_Weekly",
"name": "DTTBasicWeekly"
},
{
"availablePricingOptions": [
{
"price": "1700",
"invoicePeriod": "1"
}
],
"code": "DTH_Basic_Weekly",
"name": "DTHBasicWeekly"
},
{
"availablePricingOptions": [
{
"price": "1700",
"invoicePeriod": "1"
}
],
"code": "Combo_Basic_Weekly",
"name": "ComboBasicWeekly"
},
{
"availablePricingOptions": [
{
"price": "18200",
"invoicePeriod": "1"
}
],
"code": "S350-2Weeks",
"name": "SHS-Payment-18200(2Weeks)"
},
{
"availablePricingOptions": [
{
"price": "19600",
"invoicePeriod": "1"
}
],
"code": "S130-4Weeks",
"name": "SHS-Payment-19600(4Weeks)"
},
{
"availablePricingOptions": [
{
"price": "2000",
"invoicePeriod": "1"
}
],
"code": "DTT_Classic_Weekly",
"name": "DTTClassicWeekly"
},
{
"availablePricingOptions": [
{
"price": "2100",
"invoicePeriod": "1"
}
],
"code": "DTT_Nova_Monthly",
"name": "DTTNovaMonthly"
},
{
"availablePricingOptions": [
{
"price": "2100",
"invoicePeriod": "1"
}
],
"code": "DTH_Nova_Monthly",
"name": "DTHNovaMonthly"
},
{
"availablePricingOptions": [
{
"price": "2500",
"invoicePeriod": "1"
}
],
"code": "DTH_Classic_Weekly",
"name": "DTHClassicWeekly"
},
{
"availablePricingOptions": [
{
"price": "2500",
"invoicePeriod": "1"
}
],
"code": "Combo_Classic_Weekly",
"name": "ComboClassicWeekly"
},
{
"availablePricingOptions": [
{
"price": "2800",
"invoicePeriod": "1"
}
],
"code": "S50-Weekly",
"name": "SHS Payment-2800(Weekly)"
},
{
"availablePricingOptions": [
{
"price": "3200",
"invoicePeriod": "1"
}
],
"code": "DTT_Super_Weekly",
"name": "DTTSuperWeekly"
},
{
"availablePricingOptions": [
{
"price": "3300",
"invoicePeriod": "1"
}
],
"code": "DTH_Super_Weekly",
"name": "DTHSuperWeekly"
},
{
"availablePricingOptions": [
{
"price": "3300",
"invoicePeriod": "1"
}
],
"code": "Combo_Super_Weekly",
"name": "ComboSuperWeekly"
},
{
"availablePricingOptions": [
{
"price": "36400",
"invoicePeriod": "1"
}
],
"code": "S350-4Weeks",
"name": "SHS-Payment-19600(4Weeks)"
},
{
"availablePricingOptions": [
{
"price": "400",
"invoicePeriod": "1"
}
],
"code": "61",
"name": "SHS-Payment-400(1 Day)"
},
{
"availablePricingOptions": [
{
"price": "400",
"invoicePeriod": "1"
}
],
"code": "S50-Daily",
"name": "SHS-Payment-400(Daily)"
},
{
"availablePricingOptions": [
{
"price": "4000",
"invoicePeriod": "1"
}
],
"code": "DTT_Basic_Monthly",
"name": "DTTBasicMonthly"
},
{
"availablePricingOptions": [
{
"price": "4900",
"invoicePeriod": "1"
}
],
"code": "S130-Weekly",
"name": "SHS-Payment-4900(Weekly)"
},
{
"availablePricingOptions": [
{
"price": "5100",
"invoicePeriod": "1"
}
],
"code": "DTH_Basic_Monthly",
"name": "DTHBasicMonthly"
},
{
"availablePricingOptions": [
{
"price": "5100",
"invoicePeriod": "1"
}
],
"code": "Combo_Basic_Monthly",
"name": "ComboBasicMonthly"
},
{
"availablePricingOptions": [
{
"price": "5600",
"invoicePeriod": "1"
}
],
"code": "S50-2Weeks",
"name": "SHS-Payment-5600(2Weeks)"
},
{
"availablePricingOptions": [
{
"price": "6000",
"invoicePeriod": "1"
}
],
"code": "DTT_Classic_Monthly",
"name": "DTTClassicMonthly"
},
{
"availablePricingOptions": [
{
"price": "700",
"invoicePeriod": "1"
}
],
"code": "DTT_Nova_Weekly",
"name": "DTTNovaWeekly"
},
{
"availablePricingOptions": [
{
"price": "700",
"invoicePeriod": "1"
}
],
"code": "DTH_Nova_Weekly",
"name": "DTHNovaWeekly"
},
{
"availablePricingOptions": [
{
"price": "700",
"invoicePeriod": "1"
}
],
"code": "61",
"name": "SHS-Payment-700(1 Day)"
},
{
"availablePricingOptions": [
{
"price": "700",
"invoicePeriod": "1"
}
],
"code": "S130-Daily",
"name": "SHS-Payment-700(Daily)"
},
{
"availablePricingOptions": [
{
"price": "7400",
"invoicePeriod": "1"
}
],
"code": "DTH_Classic_Monthly",
"name": "DTHClassicMonthly"
},
{
"availablePricingOptions": [
{
"price": "7400",
"invoicePeriod": "1"
}
],
"code": "Combo_Classic_Monthly",
"name": "ComboClassicMonthly"
},
{
"availablePricingOptions": [
{
"price": "9100",
"invoicePeriod": "1"
}
],
"code": "S350-Weekly",
"name": "SHS-Payment-9100(Weekly)"
},
{
"availablePricingOptions": [
{
"price": "9500",
"invoicePeriod": "1"
}
],
"code": "DTT_Super_Monthly",
"name": "DTTSuperMonthly"
},
{
"availablePricingOptions": [
{
"price": "9800",
"invoicePeriod": "1"
}
],
"code": "DTH_Super_Monthly",
"name": "DTHSuperMonthly"
},
{
"availablePricingOptions": [
{
"price": "9800",
"invoicePeriod": "1"
}
],
"code": "Combo_Super_Monthly",
"name": "ComboSuperMonthly"
},
{
"availablePricingOptions": [
{
"price": "9800",
"invoicePeriod": "1"
}
],
"code": "S130-2Weeks",
"name": "SHS-Payment-9800(2Weeks)"
}
]
}
}
Smartcard Recharge
POSTService Information
baseUrl/api/v1/starvend1
POST
| Parameter Name | Type | M/O | Description |
|---|---|---|---|
| loginId | Numeric | M | Merchant id provided during integration |
| key | String | M | Merchants (public) key |
| checksum | String | M | Checksum computed for the request. See "Security: Checksum" section for hash computation steps |
| smartCardCode | String | M | Smart card code. |
| fee | Numeric | M | Amount to recharge smart card |
| transactionRef | Numeric | M | Unique transaction Id for the request. Maxlength (36characters) |
{
"loginId": "{{loginId}}",
"key": "{{publicKey}}",
"checksum": "{{checkSum}}",
"transactionRef": "{{random12digit}}",
"smartCardCode": "01467291535",
"fee": 1400
}
{
"statusCode": "00",
"statusDescription": "successful",
"details": "succeed,mobile phone ,smart card 01467291535,amount 1400,transaction id 34271758406641.",
"transactionNo": "34271758406641"
}