Postman Collection

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

How to Use

Below is a step-by-step guide on how to use the postman collection that IDSL 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

The collection opens in a public workspace, where it is read-only until you copy it. Fork it into your own workspace so you can send requests: open the collection's ⋯ menu → Fork (or click Fork Collection when Postman offers it). Fork the collection

In the fork dialog, give the fork a label and select the environments to include. The forked environments carry the base URLs, so nothing has to be created by hand afterwards. Select the environments to include in the fork

  1. Select the environment that matches where you want to send requests — IDSL Sandbox or IDSL Production — from the environment dropdown at the top-right of Postman. They appear with your fork's label, for example IDSL Sandbox [IDSL API Ref]. Select the environment
    The sidebar shows the collection as IDSL - API Reference, split into Prepaid (Version 1 and Version 2) and Postpaid. Requests are environment-agnostic: the host comes from the environment you picked, so there is no separate Development/Production folder.
    If no environment is selected, {{prepaid_base_url}} and the other variables stay unresolved and Postman highlights them in red — pick an environment before sending anything.
  2. Open the environment you selected (Environments → IDSL Sandbox) and fill in your credentials, then Save:
    • username: Your registered phone number on IDSL
    • api_key: Your API key for that environment

    Everything you fill in lives in the environment: the base URLs and your credentials are environment variables, and the collection has no variables of its own except sign, which the collection script calculates for you. You only ever fill in username and api_key. IDSL Sandbox environment variables
Get your API key at https://dvlp.irongatedigital.com/access-key. Sandbox and production use different API keys.
  1. Start with IDSL - API Reference > 00 - Start here > Check readiness and click Send. It is the cheapest authenticated call in the API, so a rc: "00" answer proves that your environment, your credentials and the computed signature are all correct — and it is the first thing to fix when something else fails. Every request carries tests that name the cause in the response pane (empty credentials, a key taken from the other environment, a missing field, a method the endpoint does not accept).
  2. Then try the Check Balance API:
    • Go to the IDSL - API Reference > Prepaid > Version 2 > Check Balance.
    • Click the Send button in the upper-right corner.
    • The server response is displayed below the request.

Response Result Postman Collection

Signature is calculated for you

Production Environment

  1. Explore the other APIs in the collection — Prepaid (Version 1 and Version 2) and Postpaid.

OpenAPI Specification

IDSL also publishes an OpenAPI 3.1 description of the API. You can use it to explore the API in any OpenAPI-compatible tool, generate a client SDK, or import into Postman.

The OpenAPI document covers the whole prepaid Version 2 surface (balance, catalogues, inquiries, top-up, status, receipts, eSIM) plus the postpaid bill-check operation. Prepaid Version 1 is legacy: it stays documented here but is deliberately absent from the document, because new integrations should use Version 2.