This guide walks through the Two-Phase Pre-Authorization fueling flow. This sequence allows for external data collection (such as plate numbers) after the card is detected but before the authorization request is sent, providing a more flexible validation process for fueling sessions.Documentation Index
Fetch the complete documentation index at: https://devzone.nayax.com/llms.txt
Use this file to discover all available pages before exploring further.
Payment Flow
Visualize the 2-phase pre-authorization process in the following diagram, which illustrates the separation between card detection, user input, and the final authorization.
- Your system triggers the
cardDetectcommand to enable the VPOS reader. - Once a card is detected, the VPOS sends a confirmation back to your system.
- Your system sends a
displayInputcommand to the VPOS to prompt the user (e.g., “Enter plate#”). - The user enters the data on the VPOS terminal, which is sent back to your system as a “user entry”.
- After receiving the required input, your system sends the
authorizecommand to the VPOS. - The VPOS confirms the card is authorized with an OK response.
- Your system sends a
displayScreencommand to show “Start refuel” to the consumer. - The fueling session takes place (Start refuel → End refuel).
- Your system sends the
settlecommand to the VPOS to capture the final transaction amount. - Your system displays a “Thank you” message and optionally triggers the
printcommand for a receipt.