Static vs dynamic
| Attribute | Static QR | Dynamic QR |
|---|---|---|
| Reusability | Unlimited | Single use |
| Encoded amount | Optional (usually omitted) | Optional (per order) |
| Encoded order metadata | No | Yes (order ID, request ID) |
| Typical usage | Printed signage, countertop displays | POS terminals, e-commerce checkouts |
Create a static QR
Use this when you want a reusable QR tied to a single aggregator merchant.Create the QR
Call
POST /v1/aggregators/{{aggregator_id}}/qrs with type: STATIC and your aggregator_merchant_identifier.Static QRs can receive multiple payments. Reconcile each payment by webhook or by listing QR payments.
Create a dynamic QR
Dynamic codes embed transaction metadata so each scan maps to a unique order.Create the QR
Call
POST /v1/aggregators/{{aggregator_id}}/qrs with type: DYNAMIC, order details, and amount.Key endpoints
| Endpoint | Purpose |
|---|---|
POST /v1/aggregators/{{aggregator_id}}/qrs | Create static or dynamic QR codes. |
GET /v1/aggregators/{{aggregator_id}}/qrs | List QR codes with filters and pagination. |
GET /v1/aggregators/{{aggregator_id}}/qrs/{{qr_id}} | Read a single QR code. |
GET /v1/aggregators/{{aggregator_id}}/qrs/{{qr_id}}/payments | List payments made against a QR. |
DELETE /v1/aggregators/{{aggregator_id}}/qrs/{{qr_id}} | Delete a QR code. |