Price List

API to get pricelist of IAK prepaid products.

Path

MethodPath
POSTv1/legacy/index/:type/:operator

Path Parameters

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

Request Body

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

Response

AttributesTypeDescriptionMandatory
pulsa_codeStringProduct codeYes
pulsa_opStringProduct operator nameYes
pulsa_detailsStringProduct descriptionYes
pulsa_nominalStringProduct denominationYes
pulsa_priceDoubleProduct priceYes
pulsa_typeStringProduct typeYes
masaaktifStringProduct aActive time period of reload (only applied for pulsa and data)Yes
statusStringProduct status.
Value: active, non active
Yes
icon_urlStringURL icon for each productYes
pulsa_categoryStringProduct categoryYes
{
  "data": [
    {
      "pulsa_code": "alfamart100",
      "pulsa_op": "Alfamart Voucher",
      "pulsa_nominal": "Voucher Alfamart Rp 100.000",
      "pulsa_details": "-",
      "pulsa_price": 100000,
      "pulsa_type": "voucher",
      "masaaktif": "0",
      "status": "active",
      "icon_url": "https://cdn.mobileproduct.net/img/product/operator_list/140119034649-Alfa-01.png",
      "pulsa_category": "voucher",
    },
    {
      "pulsa_code": "altel10",
      "pulsa_op": "Malaysia Topup",
      "pulsa_nominal": "10",
      "pulsa_details": "-",
      "pulsa_price": 39750,
      "pulsa_type": "malaysia",
      "masaaktif": "0",
      "status": "active",
      "icon_url": "-",
      "pulsa_category": "international"
    },
    {
      "pulsa_code": "altel100",
      "pulsa_op": "Malaysia Topup",
      "pulsa_nominal": "100",
      "pulsa_details": "-",
      "pulsa_price": 397500,
      "pulsa_type": "malaysia",
      "masaaktif": "0",
      "status": "active",
      "icon_url": "-",
      "pulsa_category": "international"
    }
  ]
}
<?xml version="1.0"?>
<mp>
  <pulsa>
    <pulsa_code>hindosat10000</pulsa_code>
    <pulsa_op>Indosat</pulsa_op>
    <pulsa_nominal>10000</pulsa_nominal>
    <pulsa_details>-</pulsa_details>
    <pulsa_price>11000</pulsa_price>
    <pulsa_type>pulsa</pulsa_type>
    <masaaktif>15</masaaktif>
    <status>active</status>
    <icon_url>https://cdn.mobileproduct.net/img/product/operator_list/140119034649-Alfa-01.png</icon_url>
    <pulsa_category>pulsa</pulsa_category>
  </pulsa>
  <pulsa>
    <pulsa_code>hindosat100000</pulsa_code>
    <pulsa_op>Indosat</pulsa_op>
    <pulsa_nominal>100000</pulsa_nominal>
    <pulsa_details>-</pulsa_details>
    <pulsa_price>100000</pulsa_price>
    <pulsa_type>pulsa</pulsa_type>
    <masaaktif>60</masaaktif>
    <status>active</status>
    <icon_url>-</icon_url>
    <pulsa_category>pulsa</pulsa_category>
  <pulsa>
    <pulsa_code>hindosat1000000</pulsa_code>
    <pulsa_op>Indosat</pulsa_op>
    <pulsa_nominal>1000000</pulsa_nominal>
    <pulsa_details>-</pulsa_details>
    <pulsa_price>950000</pulsa_price>
    <pulsa_type>pulsa</pulsa_type>
    <masaaktif>60</masaaktif>
    <status>active</status>
    <icon_url>-</icon_url>
    <pulsa_category>pulsa</pulsa_category>
  </pulsa>
<mp>

Live Testing

Request URL
https://testprepaid.mobilepulsa.net/v1/legacy/index
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.