Postman collection
Try the PayLater API in seconds. Import our Postman collection and a ready-to-run environment — authenticate once and every request just works, using {{base_url}} and an auto-saved {{access_token}}.
Download
Import & run
- In Postman, click Import and drop in the collection plus the environment file(s) above.
- Top-right, select the PayLater Sandbox environment.
- Open Authentication → Get Access Token and click Send. The token is saved to the environment automatically.
- Run any other request — they all inherit
Authorization: Bearer {{access_token}}and use your environment variables.
The Get Access Token request has a test script that saves access_token to the active environment, and the collection sends it as a Bearer token on every request. To test production, switch to the PayLater Production environment and fill in your own client_id, client_secret, and outlet_id.
Environment variables
| Variable | Purpose |
|---|---|
base_url | API host — sandbox (connect.uat.paylaterapp.com) or production (connect.paylaterapp.com) |
client_id | Your OAuth 2.0 client ID |
client_secret | Your OAuth 2.0 client secret |
access_token | Bearer token — set automatically after Get Access Token |
outlet_id | Your outlet identifier |
order_id | Your unique order reference |
merchant_order_reference | Order reference for Request to Pay |
amount | Order amount, in QAR |
expiry_duration | Payment-link expiry, in minutes |
mobile_number | Shopper mobile number (lookup / Request to Pay) |
email | Shopper email (shopper lookup) |
size | Transactions per page |
page | Transaction list page number |
The Sandbox environment ships with PayLater's published, sandbox-only test values (see Test environment). Never use them in production.
Prefer the orange Run in Postman button? That requires publishing this collection to a public Postman workspace — ask the docs team and we'll wire it up.