Test and explore BlinkPay APIs using our Postman collections.
| API | Postman Workspace |
|---|---|
| Payment API (Blink Payments) | blinkpay-merchant-workspace |
| Data API (Blink Data) | blinkpay-organisation-workspace |
Visit the appropriate workspace above and download both the collection and sample environment files to your local Postman.
Get your credentials from the Client Portal under Settings > API Settings: open the environment's row, copy the API Client ID and select Rotate Secret to obtain the client secret (it is shown only once). See Getting API Credentials. Then update the environment variables:
| Variable | Value |
|---|---|
base_url | See environment URLs below |
client_id | Your OAuth client ID |
client_secret | Your OAuth client secret |
Environment URLs:
| API | Sandbox | Production |
|---|---|---|
| Payment API | https://sandbox.debit.blinkpay.co.nz | https://debit.blinkpay.co.nz |
| Data API | https://sandbox.data.blinkpay.co.nz | https://data.blinkpay.co.nz |
access_token variable is automatically setUse the mock bank "PNZ" for testing:
| Flow | Credentials |
|---|---|
| Redirect | Username: user01, Password: password |
| Decoupled | Phone: +64-259531933 (auto-approves) |
Any other mobile number is accepted but never authorises: the consent stays AwaitingAuthorisation until the bank's window ends, then becomes Rejected. To produce a decline, choose Cancel on the PNZ login page before logging in. To test revocation, authorise with the auto-approve number, then call the DELETE endpoint for the consent.