API Guide

Postman Collection

Postman is one of the platforms to test the REST API. IAK provides a Postman Collection that can be used to test the IAK API in Postman.

How to Use

Below is a step-by-step guide on how to use the postman collection that IAK already provides.

  1. If you don't have Postman, download it here.
  2. Click the Run in Postman button to import the collection.
Run in Postman
  1. In the postman, click the IAK API folder on the left sidebar and choose Variables.
    Change the variable value with the following:
    • username: Your registered phone number on IAK
    • api_key_dev: Your development API key
    • api_key_prod: Your production API key
  1. After setting the Variables, don't forget to Save.
  2. Let's try to send a request. For example, testing the Check Balance API:
    • Go to the IAK API > Prepaid > Version 1 > Development > Check Balance.
    • Click the Send button in the upper-right corner.
    • The server response is displayed below the request.

Production Environment
  • To test IAK APIs in a production environment, make sure to have api_key_prod variable filled in.
  • Test APIs in Production folder.
  • If you get an Invalid IP Address error response, whitelist your IP first at https://developer.iak.id/prod-setting.
  1. Explore the other APIs in the collection.