Inquiry
API to inquiry Television Telkom Vision.
Path
Method | Path |
---|---|
POST | api/v1/bill/check |
Test Case
Code | Number | Response |
---|---|---|
TVTLKMV | 127246500000 | Success |
TVTLKMV | 127246500001 | Inquiry - Invoice Has Been Paid |
TVTLKMV | 127246500014 | Inquiry - Incorrect Destination Number |
TVTLKMV | 127246500103 | Inquiry - Time Out |
TVTLKMV | 127246501037 | Payment - Payment Failed |
TVTLKMV | 127246501039 | Payment - Pending / transaction in process |
TVTLKMV | 127246501105 | Payment - MISC Error / Biller System Error |
TVTLKMV | 12724650XXXX | Test other response scenarios in the test case menu. |
Request Body
Attributes | Type | Description | Mandatory |
---|---|---|---|
commands | String | Value: inq-pasca | Yes |
username | String | Your registered phone number | Yes |
code | String | Product Code. You can get list of product code in pricelist api or from pricelist here | Yes |
hp | String | Telkom vision customer number | Yes |
ref_id | String | Your order number / reference ID ( must unique ) | Yes |
sign | String | Signature. Value: md5(username+api_key+ref_id) | Yes |
{
"commands" : "inq-pasca",
"username" : "123123123",
"code" : "TVTLKMV",
"hp" : "127246500000",
"ref_id" : "09128374657",
"sign" : "b0c37e10dda176d1f66b3e9d6a7f8607"
}
Response
Attributes | Type | Description | Mandatory |
---|---|---|---|
tr_id | Integer | IAK inquiry ID | Yes |
code | String | Product code | Yes |
hp | String | Television customer number | Yes |
tr_name | String | Bill account name | Yes |
period | String | Bill period | Yes |
nominal | Double | Bill nominal | Yes |
admin | Double | Admin fee | Yes |
ref_id | String | Your order number / reference ID ( must unique ) | Yes |
response_code | String | Response code. See response code list | Yes |
message | String | Message | Yes |
price | Double | Total price that must be paid (nominal + admin fee) | Yes |
selling_price | Double | Deducted balance (price - commission) | Yes |
desc | Object | Product description | Yes |
desc.bill_quantity | String | Bill quantity | Yes |
desc.product_category | String | Product category (Unused) | Yes |
desc.ppn | Double | Tax fee (Unused) | Yes |
desc.tagihan | Object | Invoice data | Yes |
desc.tagihandetail | Array | Detail of invoice per month | Yes |
desc.tagihan.detail.periode | String | Bill period for detailed month | Yes |
desc.tagihan.detail.nilai_tagihan | String | Bill amount for detailed month | Yes |
desc.tagihan.detail.no_ref | String | Reference number for detailed month | Yes |
{
"data": {
"tr_id": 9732314,
"code": "TVTLKMV",
"hp": "127246500000",
"tr_name": "BAITUS MONGJENG",
"period": "MEI 12",
"nominal": 99000,
"admin": 1950,
"ref_id": "09128374657",
"response_code": "00",
"message": "INQUIRY SUCCESS",
"price": 100950,
"selling_price": 99950,
"desc": {
"bill_quantity": "1",
"product_category": "",
"ppn": 0,
"tagihan": {
"detail": [
{
"periode": "MEI 12",
"nilai_tagihan": "99000",
"no_ref": "205A"
}
]
}
}
},
"meta": []
}
Live Testing
Request URL
https://testpostpaid.mobilepulsa.net/api/v1/bill/check
Request Method
Request Header
Content-Type: application/json
Body
Result
Tutorial Video
You can see this video for inquiry code explanation using Laravel.
Or you can see this video for inquiry code explanation using PHP.
Table of Contents