cardDetect method activates the terminal’s reader to identify and capture data from a payment method (Card or QR) without initiating a financial hold or charge. It serves as a versatile tool for workflows where customer identification must precede the payment phase.
Use this method to:
- Recognize customers via loyalty cards or mobile QR codes to apply personalized discounts.
- Retrieve masked card data to welcome returning users or verify membership status.
- Use card data to determine eligible fuel types or promotions before requesting authorization.
- Accept Contactless (CTLS), Chip (EMV), Magnetic Stripe (Swipe), and QR code scanning.

Requests
All requests must include thecommand and a unique requestId. While this method does not authorize funds, an amount must be provided for display purposes on the terminal screen.
The following example shows a typical request:
Parameter Definitions
The table below describes the parameters available for the detection request:Responses
The VPOS terminal returns a response once the user interacts with the reader or a QR code is successfully scanned. The following example shows a typical credit card response:Note: When using
cardDetect for non-credit card methods (such as proprietary QR codes) or when a button is pressed, the client system is responsible for any subsequent authorization or settlement logic. The reader is automatically disabled after a QR code scan or button press.