Request
To make request into IAK API, it is the same way as make request to other RESTful API.
Base URL
IAK provide different base url for prepaid and postpaid product. Below is listed IAK base URL for each version.
There are 2 types of prepaid base URL: old and new. There is no difference between old and new URL, but it is recomended to use new URL.
ENVIRONMENT | BASE URL |
---|---|
Development | Old: https://testprepaid.mobilepulsa.net |
New: https://prepaid.iak.dev | |
Production | Old: https://api.mobilepulsa.net |
New: https://prepaid.iak.id |
Schema
IAK provide 2 request schema to make API request: JSON and XML. The request header must appropriate based on the request schema.
Content-Type: application/json
Authentication
IAK API use md5 hash to authenticate the requests. You need to put the sign key as request body and combination of md5 hash as value. The combination include username, api key, and additional.
sign: md5({username}+{api_key}+{additional})
additional
: Based on the request commands. The additional will be explained in each api call later.