Price List
API to get pricelist of IAK postpaid products.
Path
Method | Path |
---|---|
POST | api/v1/bill/check/:type |
Path Parameters
Attributes | Type | Description | Mandatory |
---|---|---|---|
type | String | Product type | No |
Available product type :
- asuransi
- bpjs
- emoney
- finance
- gas
- hp
- internet
- pajak-daerah
- pajak-kendaraan
- pbb
- pdam
- pln
- tv
Request Body
Attributes | Type | Description | Mandatory |
---|---|---|---|
commands | String | Value: pricelist-pasca | Yes |
username | String | Your registered phone number | Yes |
sign | String | Signature. Value: md5(username+api_key+'pl') | Yes |
status | String | Product status. Value: all , active , non active | No |
province | String | 34 Provinces in Indonesia, this field only for PDAM type | No |
{
"commands" : "pricelist-pasca",
"username" : "123123123",
"sign" : "6bc194c0d23c18a12f5d6919aa72bc30",
"status" : "all"
}
Response
Attributes | Type | Description | Mandatory |
---|---|---|---|
code | String | Product code | Yes |
name | String | Product name | Yes |
status | Integer | Product status. Value: 1= active , 4=non active | Yes |
fee | Double | Admin fee | Yes |
komisi | Double | Commision to client | Yes |
type | String | Product type. See here for available type | Yes |
category | String | Product category | Yes |
province | String | 34 Provinces in Indonesia, this field only for PDAM type | No |
{
"data": {
"pasca": [
{
"code": "AETRA",
"name": "AETRA",
"status": 1,
"fee": 2500,
"komisi": 700,
"type": "pdam",
"category": "postpaid"
},
{
"code": "BPJS",
"name": "BPJS Kesehatan",
"status": 1,
"fee": 2000,
"komisi": 100,
"type": "bpjs",
"category": "postpaid"
}
]
},
"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 pricelist code explanation using Laravel.
Or you can see this video for pricelist code explanation using PHP.
Table of Contents