> For the complete documentation index, see [llms.txt](https://docs.coda.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.coda.co/https-coda-payments.gitbook.io-zhong-wen-coda-private-technical-documentation/codapay/zhi-fu-ye-mian-api-ji-cheng/zhi-fu-qu-dao-jie-ru-fang-shi.md).

# 支付渠道接入方式

有三种方式可以将用户引导到托管支付页面流程中：

1. **支付渠道选择页面（PCSP）：**&#x7528;户从多个可用支付渠道中选择。
2. **运营商付费页面（DCB）：**&#x7528;户被引导到一个页面，输入手机号码后，系统会将其引导到适当的运营商支付渠道。
3. **定向支付渠道：**&#x7528;户直接跳转至特定支付渠道。

这种灵活性使商家能够根据自身需求和用户偏好，灵活地定制支付流程。

## **支付渠道选择页面 (PCSP)**

支付渠道选择页面为用户提供可用支付渠道的选择。当您希望提供多种支付方式并让用户选择自己喜欢的支付方式时，这个选项非常合适。如果您希望Coda管理支付渠道的展示列表，像下面所示的那样，它尤其方便。要使用支付渠道选择页面，您需要在[支付请求发起](/https-coda-payments.gitbook.io-zhong-wen-coda-private-technical-documentation/codapay/zhi-fu-ye-mian-api-ji-cheng/fa-qi-zhi-fu-qing-qiu.md)时传递参数payType=0。

<figure><img src="/files/cptZ4hZbKzfZ3jXjTk4c" alt=""><figcaption></figcaption></figure>

### 流程说明

* 用户在Coda支付渠道选择页面上看到可用的支付渠道列表。
* 用户从列表中选择自己偏好的支付渠道
* 用户将被重定向到所选支付渠道的托管支付页面，完成后续付款流程并完成交易。

{% hint style="danger" %}
**重要提示**

* 支付渠道选择页面不支持固定价格及代金券（现金卡）渠道。
* 要使用支付渠道选择页面，您需要完成支付页面配置。如未完成配置，将会导致错误代码233。
  {% endhint %}

***

运营商支付支付页面（DCB页面）允许用户输入手机号码，并被引导到相应的运营商支付渠道。这种方式非常适合那些希望通过手机运营商进行支付的用户，简化了支付流程。要使用DCB页面，您需要在[支付请求发起](/https-coda-payments.gitbook.io-zhong-wen-coda-private-technical-documentation/codapay/zhi-fu-ye-mian-api-ji-cheng/fa-qi-zhi-fu-qing-qiu.md)时传递参数payType=1。

<figure><img src="/files/N32OknET9kWZvBhMnKRS" alt=""><figcaption></figcaption></figure>

### 流程说明

* 用户将被引导到一个页面，输入他们的手机号码。
* 系统根据提供的电话号码识别手机运营商。
* 用户将被重定向到所识别的运营商支付页面以完成交易。

{% hint style="danger" %}
**重要说明**

在某些地区，系统可能无法通过手机号码识别运营商。在这种情况下，用户将被提示手动选择支付渠道。
{% endhint %}

***

## 定向支付渠道

定向支付渠道选项允许用户直接跳转到特定的支付渠道。当您知道用户的首选支付方式时，这种方式非常适合，通过跳过选择步骤简化支付流程。要使用此选项，您需要在payType参数中传递支付渠道ID。可用支付渠道ID的完整列表请参考 [支付页面 API](/https-coda-payments.gitbook.io-zhong-wen-coda-private-technical-documentation/codapay/ji-cheng-zhi-nan/zhi-fu-qu-dao-xin-xi/zhi-fu-ye-mian-api.md) 。

### 流程说明

* 系统根据您在paytype参数中传递的支付渠道ID将用户定向到特定的支付渠道。
* 用户将直接被重定向到所选支付渠道的支付页面

{% hint style="danger" %}
**重要说明**

请确保您系统中已正确配置所有使用的支付渠道ID。
{% endhint %}


---

# 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://docs.coda.co/https-coda-payments.gitbook.io-zhong-wen-coda-private-technical-documentation/codapay/zhi-fu-ye-mian-api-ji-cheng/zhi-fu-qu-dao-jie-ru-fang-shi.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.
