> For the complete documentation index, see [llms.txt](https://support.cregis.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.cregis.com/cregis-wallet-guide/zh-tw/payment_engine/payment_configuration.md).

# 支付配置

商戶可以透過API對收銀台和支付訂單處理進行配置，詳細配置欄位請[<mark style="color:green;">**查閱API文檔**</mark>](https://developer-cn.cregis.com/quickstart)

## 收銀台配置

* 透過API指定Cregis收銀台和通知郵件的預設語言，支援以下語言選擇：
  * 英文
  * 繁體中文
  * 簡體中文
* 指定Cregis收銀台展示的支付幣種，精準控制終端客戶的支付幣種選項

## 匯率配置

* 美元穩定幣與美元之間的匯率模式，支援以下兩種選擇：
  * 實時匯率模式 - 採用市場最新匯率
  * 固定匯率模式 - 鎖定1:1兌換比例

## 支付金額允許誤差

* 透過配置上下限容差值控制支付金額的允許誤差範圍，系統將根據實際支付金額判斷訂單狀態：
  * 當 **實付金額** 大於 **應收金額** 減去 **上限容差值** 時，系統返回的支付訂單狀態為：**超額支付**
  * 當 **實付金額** 小於 **應收金額** 減去 **下限容差值** 時，系統返回的支付訂單狀態為：**部分支付**
  * 當 **實付金額** 在 **應收金額與上下限容差值內** 時，系統返回的支付訂單狀態為：**已支付**

## 支付異常處理

* **部分支付訂單處理配置**
  * **接受部分支付**：系統將自動按照結算規則結算部分支付訂單
  * **拒絕部分支付**：系統將自動啟動補款流程（具體規則請參考補款流程說明）
* **超額支付訂單處理**
  * **接受超額支付**：系統將自動按照結算規則結算超額支付訂單
  * **拒絕超額支付**：系統將自動啟動退款流程（具體規則請參考退款流程說明）

## 回調地址

* 透過API傳入指定的回調地址，Cregis會向此地址發送訂單狀態更新的webhook通知


---

# 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, and the optional `goal` query parameter:

```
GET https://support.cregis.com/cregis-wallet-guide/zh-tw/payment_engine/payment_configuration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
