Authenticated QR Payment Flow
Validate each payment in a trusted app before the customer authorizes it
- Difficulty
- Advanced
- Time to result
- ~months to results
- Steps
- 5
- Confidence
- 97%
Sarah Hoisington contrasts a simple QR-to-web redirect with an API-based payment flow tied to a specific transaction. The provider generates a unique code whose data represents details such as the amount, currency, and biller. Rather than scanning it with the phone's general camera, the customer scans from an authenticated bank or retailer app. That app sends an API request to validate whether the code has been spoofed, altered, or already paid. Only after validation does the system return the transaction details for the customer to review and authorize. The mechanism keeps payment information inside trusted systems, removes the need to type credentials into a landing page, and supplies a secure initiation layer for account-to-account or instant payments.
Origin
Sarah Hoisington explained the API-based QR payment technology used in Brazil and available in the United States. Extracted from Leaders In Payments.
Core principles
- 01Bind each QR code to a specific transaction
- 02Keep scanning inside an authenticated application
- 03Validate the code before displaying or authorizing payment
- 04Return transaction details for customer review
- 05Avoid exposing merchant or consumer payment credentials
How to run it
- 1
Create a transaction-specific code
Use an API to generate a unique QR code for one payment transaction. Represent details such as the amount, currency, and biller in the code's data string.
Pro tip Bind the code to a single transaction rather than using a generic payment landing page.
Watch out A simple URL redirect does not provide the same transaction validation.
- 2
Scan inside a trusted app
Have the customer scan the code from an authenticated bank or retailer mobile app instead of the general camera app.
Pro tip Use the authentication already required to enter the mobile app.
Watch out Sending the customer to an unverified website can expose credentials or direct payment to a fraudster.
- 3
Validate the code
Send an API call to the system that generated the QR code. Check whether it has been spoofed, tampered with, or previously paid.
Pro tip Complete validation before presenting the transaction for authorization.
Watch out Do not treat a familiar-looking QR image as proof that its payment data is trustworthy.
- 4
Return payment details
After validation, send the transaction details back to the authenticated app so the customer can inspect the payee and amount.
Pro tip Make the confirmation screen clear enough for the customer to catch an unexpected payee or amount.
Watch out Do not hide the validated transaction details behind a one-tap approval.
- 5
Authorize without credential disclosure
Let the customer authorize the validated payment in the app and process it through the configured payment rail. Keep consumer and merchant payment information within the supporting technology.
Pro tip Pair the flow with instant-payment rails when immediate settlement is part of the use case.
Watch out The QR initiation layer does not by itself determine which payment rail is used.
In the wild
A licensing department prints a transaction-specific QR code on a vehicle-renewal bill. The customer signs into a bank app with Face ID, scans the code, reviews the department name and amount, and confirms an account-to-account payment without typing a routing number.
→ The customer completes pay by bank with less friction and without disclosing bank-account credentials to the biller's portal.
A retailer generates a unique code for an order. Its logged-in mobile app scans the code, calls the generator to verify that it is authentic and unpaid, then displays the merchant and amount before asking the shopper to authorize.
→ The retailer receives an authorized payment without asking the shopper to enter card or bank details on a redirected web page.
Common mistakes
Treating every QR flow as equivalent
A URL redirect and a transaction-specific API-based code may look similar to a customer, but they provide different validation and credential-handling mechanisms.
Scanning outside the authenticated app
Using a general camera can send the customer to a landing page rather than invoking the trusted app and API validation flow.
Authorizing before validation
The system should check for spoofing, tampering, and prior payment before returning details for customer approval.
Is it for you?
Best for
It is best for banks, retailers, merchants, and billers building authenticated QR-initiated payment experiences.
Not ideal for
It is not ideal for simple informational QR codes that only need to redirect a user to public web content.
From the transcript
“There is API based technology that can generate a unique QR code for a specific transaction”
“That QR code isn't scanned from a camera app. It's scanned from an authenticated mobile app or a mobile app that a user had to…”
“Once it's been validated, an API response is sent back to the consumer's mobile app with the transaction details so they can look at it…”
From the episode
Anytime Anywhere Payments Series: Sarah Hoisington, VP of Strategy and Marketing at Matera
Sarah Hoisington