Inquiry
API to inquiry Telco Postpaid.
Path
| Method | Path |
|---|---|
| POST | api/v1/bill/check |
Test Case
| Code | Number | Response |
|---|---|---|
| HPTHREE | 08991230000 | Success |
| HPTHREE | 08991230001 | Inquiry - Invoice Has Been Paid |
| HPTHREE | 08991230014 | Inquiry - Incorrect Destination Number |
| HPTHREE | 08991230103 | Inquiry - Time Out |
| HPTHREE | 08991231037 | Payment - Payment Failed |
| HPTHREE | 08991231039 | Payment - Pending / transaction in process |
| HPTHREE | 08991231105 | Payment - MISC Error / Biller System Error |
| HPTHREE | 0899123XXXX | 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 | Telco postpaid 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" : "HPTHREE",
"hp" : "08991230000",
"ref_id" : "09128374658",
"sign" : "1231656ad1449ea56be648495e195ea4"
}
Response
Loading...
{
"data": {},
"meta": []
}Live Testing
Request URL
https://testpostpaid.mobilepulsa.net/api/v1/bill/check
Request Method
Request Header
Content-Type: application/json
Body
Result
Table of Contents