Postman Collection (DQR)
← Back to Postman CollectionsUse this Postman collection to quickly integrate and test Amazon Pay Dynamic QR APIs — including QR generation, cancellation, transaction status checks, and refunds — with pre-built requests and automated request signing.
Get the Collection
▶ Fork Collection
Get a copy of all pre-built requests, environment variables, and auto-signing scripts in your own workspace. Best for developers ready to integrate.
- Click "Fork Collection" below
- Sign in to your Postman account
- Choose a workspace to fork into
- Configure environment variables
- Start making API calls
🤖 Try with AI Agent
Explore the APIs interactively using Postman's AI assistant. Ask natural language questions and get guided through the integration. Best for developers exploring or learning the APIs.
- Fork the collection to your workspace first
- Open the forked collection in Postman
- Click the AI Agent icon in the bottom-right panel
- Ask questions like "How do I generate a QR code?"
- Follow the guided steps to test APIs
📥 Download Collection
Download the collection JSON file and import it directly into Postman. Best for offline use or restricted network environments.
- Click "Download JSON" below
- Open Postman
- Click Import → Upload Files
- Select the downloaded JSON file
- Configure environment variables and start testing
Configure Environment Variables
After forking or importing the collection, create a new environment in Postman and add the following variables:
| Variable | Description |
|---|---|
mid |
Your Merchant ID |
secret_key |
Your Secret Key for signing |
access_key |
Your Access Key for authorization |
hostname |
Production: amazonpay.amazon.in |
Available APIs in the Collection
| API | Description |
|---|---|
| Generate QR | Generate a Dynamic QR code for a payment transaction |
| Cancel QR | Cancel a previously generated QR code |
| Check Transaction Status | Check the status of a QR payment transaction |
| Initiate Refund | Initiate a refund for a completed QR payment |
| Check Refund Status | Check the status of a refund transaction |
Usage
Run Generate QR first — this creates a QR code and saves the
transaction_idautomatically.All APIs will auto-sign requests using your credentials.
transaction_idandrefund_idare auto-generated when you run Generate QR / Initiate Refund.Status check APIs automatically use the last generated transaction/refund ID.
Notes
The QR code returned by Generate QR API can be rendered as an image for customer scanning.
Use Check Transaction Status API or IPN (Instant Payment Notification) to track payment completion.