> 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.md).

# API for In-Store Channels(via Merchant POS/Terminal)

## :white\_check\_mark: 场景介绍 SCENE INTRODUCTION

### :digit\_one: 使用场景一（用户扫商家的收款二维码）

**SCENE ONE（Customer Scan the QR code）**

* **在 POS 机上点击收款，选择 OTTPAY 服务**

**Press pay button on POS and choose OTTPAY channel**

![](/files/-M6keABDBgneF7rE0VNe)

* **生成付款二维码**

**Generate order QR Code**

![](/files/-M6keABEEzPI1HhyGYG7)

* **手机扫码完成付款**

**Customer Scan QR Code with their payment App to pay**

![](/files/-M6keABFwaVGyCNM1Ggo)

### :digit\_two: **使用场景二（商家使用扫码设备扫描用户的付款二维码）**

**SCENE TWO（Merchant use scanner to Scan the customers’ QR code）**

#### :asterisk\_symbol: **打开微信/支付宝客户端付款码，使用扫码枪扫码**

**Customer show their payment QR Code in their apps and merchant use a scanner to scan the QR Code**

![](/files/-M6keABG3d2MTgSCG0RV)

#### :asterisk\_symbol: **调用 OTTPAY 接口完成收款**

**Call OTTPAY API to finish payment**

![](/files/-M6keABHauU1M5IzoaIr)
