Inquiry PLN
API to check whether PLN Prepaid Subscriber is valid or invalid.
Path
| Method | Path |
|---|---|
| POST | api/inquiry-pln |
Test Case
Use below test case in development environment only.
| customer_id | Response Message |
|---|---|
| 12345678901 | SUCCESS |
| Other than 12345678901 | INCORRECT DESTINATION NUMBER |
Request Body
| Attributes | Type | Description | Mandatory |
|---|---|---|---|
| username | String | Your registered phone number | Yes |
| customer_id | String | Customer ID | Yes |
| sign | String | Signature. Value: md5(username+api_key+customer_id) | Yes |
{
"username" : "123123123",
"customer_id" : "12345678901",
"sign" : "6c4bbf2365e7e40423a76b713e3a5f0b"
}
Response
| Attributes | Type | Description | Mandatory |
|---|---|---|---|
| status | String | Transaction Status. List of status: 1:SUCCESS 2:FAILED | Yes |
| customer_id | String | Customer ID | Yes |
| meter_no | String | Meter Number | Yes |
| subscriber_id | String | Customer ID information | Yes |
| name | String | Customer name | Yes |
| segment_power | String | Segment Power | Yes |
| message | String | Message | Yes |
| rc | String | Response code. See response code list | Yes |
{
"data": {
"status": "1",
"customer_id": "12345678901",
"meter_no": "548933889287",
"subscriber_id": "12345678901",
"name": "Sintya Oktaviani",
"segment_power": "R1 \/000001300",
"message": "SUCCESS",
"rc": "00"
}
}
Live Testing
Request URL
https://prepaid.iak.dev/api/inquiry-pln
Request Method
Request Header
Content-Type: application/json
Body
Result
Tutorial Video
You can see this video for inquiry PLN check code explanation using Laravel.

Or you can see this video for inquiry PLN check code explanation using PHP.

Table of Contents