Version 1 Versus Version 2

IAK prepaid API have 2 version. Actually the flow and process behind is still the same. The difference is in version 2, its more clear about the endpoint path, request body and response body format. In version 1, each service is defined by its request body meanwhile the version 2 is in each path already defined the service. The request body and response body is more clearly in version 2. Below is the summary of difference between version 1 and version 2.

ListVersion 1Version 2
Endpoint pathv1/legacy/indexapi/{service-name}
Request & response body fieldhpcustomer_id
Request & response body fieldall of pulsa keywordproduct
Request & response body field (in pricelist api only)pulsa_opproduct_description
Request & response body field (in pricelist api only)masaaktifactive_period
Request & response body field (in pricelist api only)pulsa_categoryproduct_category