How it works
The image below describes the typical usage flow of DynamicQR.
- The customer starts by selecting a product.
- The customer chooses the QR payment option.
- The device presents the generated QR code.
- The customer scans this code to initiate the payment.
- The payment is processed and approved.
Pre-Selection Flow
The Pre-selection flow simplifies the payment process by merging the steps of product/service selection and authorization into a single transaction. This flow is typically used for low-value or quick transactions, where the customer’s selection and payment authorization are handled together in one step. See the diagram below (the numbers inside the brackets relate to the different sources of timeout):
- The user selects a product and payment method on the Vending Machine.
- The Vending Machine sends a QR Command Request to the Nayax Server.
- The Nayax Server sends a GenerateQR (Amount, Channel) request to the Integrator using the DynamicQR GenerateQR endpoint.
- The Integrator returns a Response including the QR code data to the Nayax Server.
- The Nayax Server sends the QR Command Response back to the Vending Machine, which then shows the QR code.
- Once the user scans the QR and confirms via mobile, the Vending Machine sends a QR Payment Command Request to the Nayax Server.
- The Nayax Server sends an Inquiry (Transaction ID) to the Integrator using the DynamicQR Inquiry endpoint.
- The Integrator returns the Response Status (Approved/Pending) to the Nayax Server.
- The Nayax Server sends the QR Payment Command Response to the Vending Machine.
- The Vending Machine dispenses the product and sends the Settlement Command to the Nayax Server.