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

Collection PayLater API — all endpoints (Postman Collection v2.1) ↓ Download
Sandbox env Pre-filled with the published sandbox test credentials ↓ Download
Production env Blank template — add your own production credentials ↓ Download

Import & run

  1. In Postman, click Import and drop in the collection plus the environment file(s) above.
  2. Top-right, select the PayLater Sandbox environment.
  3. Open Authentication → Get Access Token and click Send. The token is saved to the environment automatically.
  4. Run any other request — they all inherit Authorization: Bearer {{access_token}} and use your environment variables.
How auth works

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

VariablePurpose
base_urlAPI host — sandbox (connect.uat.paylaterapp.com) or production (connect.paylaterapp.com)
client_idYour OAuth 2.0 client ID
client_secretYour OAuth 2.0 client secret
access_tokenBearer token — set automatically after Get Access Token
outlet_idYour outlet identifier
order_idYour unique order reference
merchant_order_referenceOrder reference for Request to Pay
amountOrder amount, in QAR
expiry_durationPayment-link expiry, in minutes
mobile_numberShopper mobile number (lookup / Request to Pay)
emailShopper email (shopper lookup)
sizeTransactions per page
pageTransaction list page number
Sandbox credentials

The Sandbox environment ships with PayLater's published, sandbox-only test values (see Test environment). Never use them in production.

One-click "Run in Postman" button

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.