> For the complete documentation index, see [llms.txt](https://docs.ottpay.com/payment-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ottpay.com/payment-api/retail-api/untitled.md).

# API Process Flows

### :white\_check\_mark: **Process for** Active Mode Pay

**Active Mode Pay** is to generate payment QR Codes from merchants for customers to scan via their mobile camera to activate payment process within their mobile payment apps, such as WeChat Pay,Alipay

#### :ballot\_box\_with\_check: Process Flow:

![](/files/-LduFwF4-TEgzT5GcRFf)

### :white\_check\_mark: **Process for Passive Mode Pay**

**Passive Mode Pay** is to use scanner/mobile app camera from merchants to scan customer's QR Codes generated via their payment apps such as WebChat-Pay, Alipay, to activate the payment process within merchant POS system and/or OTTPay provided Payment Apps.

#### :ballot\_box\_with\_check: Process Flow:

![](/files/-LduFnxwHkU_YBmxwG8d)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.ottpay.com/payment-api/retail-api/untitled.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.
