# Payment Processing Workflow

## Payment Waiting

The POS displays **"Waiting on payment"** whilst the terminal processes the payment. The payment can be cancelled at this stage, which cancels the transaction on the terminal. If cancelled, the process can be restarted.

<figure><img src="https://1925381409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5cJdZdmiiIn3u107Grmv%2Fuploads%2FQtc3N7BrfddjrUSUCq9A%2Fimage.png?alt=media&#x26;token=42c221b2-b865-4d99-ac84-4c375e0d845d" alt=""><figcaption></figcaption></figure>

## Payment Success

Once the payment is confirmed, the POS displays **"Payment successful. \[Amount] was paid"**. You can then send the order to the kitchen, or complete the transaction. Press the close (X) button to go back to the checkout page.

<figure><img src="https://1925381409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5cJdZdmiiIn3u107Grmv%2Fuploads%2FN6CNz8GUPizsYnEqkGow%2Fimage.png?alt=media&#x26;token=4e3d0c91-d3ff-4ba4-ba1e-f4e28e4dbeb0" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bossithq.com/payment-terminals/viva-wallet/payment-processing-workflow.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
