This repository contains Postman collection and environment files to help you quickly integrate and test against the Zendit Gateway API.
postman_collection.jsonpostman_environment.json
- Open Postman.
- From the top menu: File → Import.
- First, import the Environment file.
- Then, import the Collection file.
- In the left sidebar, go to Environments.
- Open Zendit Gateway – SANDBOX.
- Go to the Variables tab.
- Replace the stock value of
auth_tokenwith your token (e.g.,sand_xxx...).- Use the token starting with
sand_for integration testing. - Use
prod_tokens only in production.
- Use the token starting with
- Click Save.
- Go to the Collections tab.
- Double-click the Zendit Gateway API collection.
- In the top-right corner, open the Environment dropdown.
- Select Zendit Gateway – SANDBOX.
Expand the collection folders to find sample requests:
- Utilities
- Brands
- Topups
- Vouchers
- eSIM
- Bill Pay
- Promos
- Transactions
- Reports
You can send GET or POST requests to test the integration.
Default parameters _limit and _offset are enabled. Other filters (like brand, subType, country) are available but unchecked by default.
The collection uses shared variables to simplify flows:
-
transactionIdis automatically generated when you create a purchase (Top-up, Voucher, eSIM, Bill Pay).
To update it, call the corresponding GET-by-ID endpoint:GET /topups/purchases/{{lastTransactionId}}→ updates Top-uptransactionIdGET /vouchers/purchases/{{lastTransactionId}}→ updates VouchertransactionIdGET /esim/purchases/{{lastTransactionId}}→ updates bothtransactionIdandiccid
-
iccidis used only for eSIM endpoints:- It is captured automatically from
GET eSIM Purchase by ID. - After that, it can be reused in:
GET /esim/{{iccid}}/plansPOST /esim/purchases(bundle purchase)
- It is captured automatically from