Price List

API to get pricelist of IAK prepaid products.

Path

MethodPath
POSTapi/pricelist/:type/:operator

Path Parameters

AttributesTypeDescriptionMandatory
typeStringProduct type. See here for product type listNo
operatorStringProduct operator. See here for product operator listNo

Request Body

AttributesTypeDescriptionMandatory
usernameStringYour registered phone numberYes
signStringSignature. Value: md5(username+api_key+'pl')Yes
statusStringProduct status.
Value: all, active, non active
No
{
  "username" : "123123123",
  "sign"     : "6bc194c0d23c18a12f5d6919aa72bc30",
  "status"   : "all"
}
<?xml version="1.0" ?>
<mp>
  <username>123123123</username>
  <sign>6bc194c0d23c18a12f5d6919aa72bc30</sign>
  <status>all</status>
</mp>

Response

AttributesTypeDescriptionMandatory
pricelistArrayPrice ListYes
pricelist.product_codeStringProduct codeYes
pricelist.product_descriptionStringProduct operator nameYes
pricelist.product_detailsStringProduct descriptionYes
pricelist.product_nominalStringProduct denominationYes
pricelist.product_priceDoubleProduct priceYes
pricelist.product_typeStringProduct typeYes
pricelist.active_periodStringProduct aActive time period of reload (only applied for pulsa and data)Yes
pricelist.statusStringProduct status.
Value: active, non active
Yes
pricelist.icon_urlStringURL icon for each productYes
pricelist.product_categoryStringProduct categoryYes
messageStringMessageYes
rcStringResponse code. See response code listYes
{
  "data": {
    "pricelist": [
      {
        "product_code": "alfamart100",
        "product_description": "Alfamart Voucher",
        "product_nominal": "Voucher Alfamart Rp 100.000",
        "product_details": "-",
        "product_price": 100000,
        "product_type": "voucher",
        "active_period": "0",
        "status": "active",
        "icon_url": "https://cdn.mobileproduct.net/img/product/operator_list/140119034649-Alfa-01.png",
        "product_category": "voucher",
      },
      {
        "product_code": "altel10",
        "product_description": "Malaysia Topup",
        "product_nominal": "10",
        "product_details": "-",
        "product_price": 39750,
        "product_type": "malaysia",
        "active_period": "0",
        "status": "active",
        "icon_url": "-"
        "product_category": "international",
      },
      {
        "product_code": "altel100",
        "product_description": "Malaysia Topup",
        "product_nominal": "100",
        "product_details": "-",
        "product_price": 397500,
        "product_type": "malaysia",
        "active_period": "0",
        "status": "active",
        "icon_url": "-"
        "product_category": "international",
      }`
    ],
    "rc": "00",
    "message": "SUCCESS"
 }
}
<?xml version="1.0" encoding="UTF-8" ?>
<mp>
  <pricelist>
    <product_code>alfamart100</product_code>
    <product_description>Alfamart Voucher</product_description>
    <product_nominal>Voucher Alfamart Rp 100.000</product_nominal>
    <product_details>-</product_details>
    <product_price>99750</product_price>
    <product_type>voucher</product_type>
    <active_period>0</active_period>
    <status>active</status>
    <icon_url>https://cdn.mobilepulsa.net/img/product/operator_list/140119034649-Alfa-01.png</icon_url>
    <product_category>voucher</product_category>
  </pricelist>
  <pricelist>
    <product_code>altel10</product_code>
    <product_description>Malaysia Topup</product_description>
    <product_nominal>10</product_nominal>
    <product_details>-</product_details>
    <product_price>39750</product_price>
    <product_type>malaysia</product_type>
    <active_period>0</active_period>
    <status>active</status>
    <icon_url>-</icon_url>
    <product_category>international</product_category>
  </pricelist>
  <pricelist>
    <product_code>altel100</product_code>
    <product_description>Malaysia Topup</product_description>
    <product_nominal>100</product_nominal>
    <product_details>-</product_details>
    <product_price>397500</product_price>
    <product_type>malaysia</product_type>
    <active_period>0</active_period>
    <status>active</status>
    <icon_url>-</icon_url>
    <product_category>international</product_category>
  </pricelist>
  <rc>00</rc>
  <message>SUCCESS</message>
</mp>

Live Testing

Request URL
https://prepaid.iak.dev/api/pricelist
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.