> ## Documentation Index
> Fetch the complete documentation index at: https://nayax-44d6e37b-docs-marshall-faq-redistribution.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Periodic Reconciliation

> Maintain system integrity by querying and settling open transactions to ensure all fueling sessions are correctly finalized.

This guide walks through the periodic reconciliation flow. This maintenance sequence is designed to run at regular intervals to identify any transactions that were not settled during the normal flow (e.g., due to a network timeout or hardware reset), ensuring that revenue is captured and the terminal remains in a healthy state.

## Reconciliation Flow

Visualize the Periodic Reconciliation process with the diagram below, which illustrates the sequence from disabling the reader to batch-settling open transactions.

<img src="https://mintcdn.com/nayax-44d6e37b-docs-marshall-faq-redistribution/OuLyHEa9QCKTFikd/images/periodic-reconciliation.png?fit=max&auto=format&n=OuLyHEa9QCKTFikd&q=85&s=b4d8ab8427df82973895ca732755acd1" alt="periodic-reconciliation" width="955" height="1087" data-path="images/periodic-reconciliation.png" />

Below is a breakdown of the sequence:

1. Your system sends the `stopCardDetect` command to the VPOS to prevent new transactions from starting during reconciliation.
2. Your system triggers a `query` command to request a list of all transactions currently pending settlement.
3. For every open transaction returned by the VPOS, your system sends a `settle` command.
4. The VPOS returns an **OK** for each successful settlement.
5. Once reconciliation is complete, your system sends the `cardDetect` command to re-enable the reader for new consumers.
