Postman collection

Developer tools

Every Paga Engine request, ready to send. Hashes, references and base URLs are handled for you, so you can try any use case in minutes.

Get the collection

Get the collection in your workspace

Either option gives you your own copy, with your own keys. When Paga updates the collection, Postman lets you pull the changes into your fork.

Run in Postman

Opens Postman and lets you fork or import the collection in a couple of clicks. Best if you’re new to Postman.

Fork in Postman

Goes straight to Paga’s public workspace to fork the collection into a workspace you choose.

Just want to look around first? Browse the collection’s documentation, no Postman account needed.

One collection covers Sandbox and Live. There are no separate environments to import. You’ll need a free Postman account to fork it.

🚧

Keys go in Current value only

Current value stays on your computer. Initial value is shared with anyone who can see your workspace, and is included if you export the collection. Never share a workspace that contains Live keys.

What’s inside

11 folders

One per use case

From Checkout to Bill payment, with 55 requests numbered in the same order as the guides.

Automatic

Hashes and references

Each request signs itself from the values you send. Status checks reuse the reference from the step before.

Test callbacks

Signed callbacks to your server

The “Handle the …” requests send a correctly signed callback to yourServerBaseUrl, so you can test your handler.

Switching to Live

Add your Live keys to livePublicKey, liveSecretKey and liveHashKey, then change mode to live. Every request then uses the Live servers and your Live keys. Change it back to sandbox when you’re done; Postman’s console shows which one each request used.

All collection variables (11)
VariableWhat it’s for
modesandbox (or test) or live (or production). Anything else stops the request
sandboxPublicKey, sandboxSecretKey, sandboxHashKeyYour Sandbox keys, from the Sandbox business portal
livePublicKey, liveSecretKey, liveHashKeyYour Live keys, from the Live business portal. Live keys work once your business is approved
yourServerBaseUrlOptional. Where the test callbacks are sent
lastReferenceFilled in automatically. Used by status checks
lastPaymentRequestReferenceFilled in automatically. Used by Refunds
subsidiaryAccountFilled in automatically by “Create an account”. Used by the other Subsidiary Accounts steps

If something doesn’t work

“Set sandboxPublicKey…”

A key is missing for the current mode. Add it in the Variables tab, in Current value, and save.

“mode is …”

mode has a value the collection doesn’t recognise. Set it to sandbox or live.

Invalid hash or 401

Check the keys match the mode, with no extra spaces. See Error handling.

Request blocked

Your IP address may not be whitelisted. See IP whitelisting.

Need help? We’re here 24/7

Talk to our support team any time, or ask questions in the developer community.