Inquiry
API to inquiry PLN Postpaid.
Path
| Method | Path |
|---|---|
| POST | api/v1/bill/check |
Test Case
| Code | Number | Response |
|---|---|---|
| PLNPOSTPAID | 530000000000 | Success - 1 bill |
| PLNPOSTPAID | 530000000999 | Success - 8 bills |
| PLNPOSTPAID | 530000000001 | Inquiry - Invoice Has Been Paid |
| PLNPOSTPAID | 530000000014 | Inquiry - Incorrect Destination Number |
| PLNPOSTPAID | 530000000103 | Inquiry - Time Out |
| PLNPOSTPAID | 530000001037 | Payment - Payment Failed |
| PLNPOSTPAID | 530000001039 | Payment - Pending / transaction in process |
| PLNPOSTPAID | 530000001105 | Payment - MISC Error / Biller System Error |
| PLNPOSTPAID | 53000000XXXX | 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 | PLN 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" : "PLNPOSTPAID",
"hp" : "530000000000",
"ref_id" : "09128374655",
"sign" : "1ac8362ae9a517eadf4a47715555b022"
}
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