> 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/ji-cheng-zhi-nan/xuan-ze-fu-he-nin-ye-wu-xu-qiu-de-ji-cheng-lei-xing.md).

# 选择符合您业务需求的集成类型

在将支付网关集成到您的系统时，选择合适的集成方式对确保交易过程的顺畅和高效至关重要。本指南将帮助您了解不同的集成方式、适用场景以及如何根据您的业务需求，以便您做出最佳选择。

\
主要有两种集成方式：

* 支付页面 API
* 后端 API

<details>

<summary>支付页面 API</summary>

支付页面方式是将客户引导至由 Coda 提供的支付页面，该页面负责收集支付信息并处理订单交易。

**优点**

* 简化了 PCI 合规性和敏感个人信息（PII）数据的处理，因为敏感支付数据由 Coda 处理。
* 实现快速简便，减少开发时间。
* 支持多种设备，包括桌面浏览器、移动浏览器和应用内网页。

**使用标准**

* 您希望快速简便地集接入，并尽量减少技术负担
* 您需要支持多个支付渠道，但不需要进行大量开发。
* 您希望将 PCI 合规责任交给 Coda。

</details>

<details>

<summary>后端 API</summary>

后端 API 方式允许您直接与 Coda 的后台服务进行接入，提供更多对支付流程的控制和定制化。

**优点**

* 完全掌控用户界面和支付流程，提供定制化的支付体验。
* 直接与 Coda 的服务进行通信，支持高级功能和更灵活的集成。
* 适合需要定制支付体验的企业。

**适用条件**

* 您需要根据业务需求定制高度个性化的支付流程。
* 您的企业能够处理 PCI 合规的复杂性。
* 您具备技术资源来实施和维护该接入。

</details>

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

## **决策指南**

要决定哪种集成方式最适合您的需求，请考虑以下标准：

* **技术资源可用性**：如果您的团队在开发资源方面有限，且希望尽量减少技术负担，支付页面API由于其简便性和易于实施，是更好的选择。
* **定制化需求**：如果您需要高級定制的用户体验，并且具备处理敏感数据的技术能力，后端API 提供了所需的灵活性。
* **合规要求**：对于希望减少 PCI 合规负担的企业，支付页面API 通过将敏感数据的处理交由 Coda，大大减轻了合规压力。
* **市场发布速度**：如果您需要快速上线，支付页面API 可以实现更快的实施。
* **性能**：支付页面API 受益于 Coda 多年的优化，确保了高性能、可靠的支付流程，从而提升用户满意度。

通过了解每种集成方式的特点和要求，您可以做出符合您的业务目标、技术能力和时间表的明智决策。

***

### 可用的Codapay集成方式的对比

<table data-full-width="true"><thead><tr><th width="174">...</th><th width="254">支付页面API（Coda收银台）</th><th width="267">后端API</th><th>支付页面组件 (敬请期待)</th></tr></thead><tbody><tr><td></td><td><img src="/files/7h8T4etzcGdN9uUSzP80" alt="" data-size="original"></td><td><img src="/files/t2Dv4yUsiaNgE1E9W9Zu" alt="Caption text" data-size="original"></td><td><img src="/files/hdKKe3ifYvgZthFJRi4a" alt="" data-size="original"></td></tr><tr><td>客户界面</td><td>由 Coda 设计并托管的页面，客户可以在该页面上为单一支付渠道发起购买。Coda 还可以根据您的业务需求进行品牌定制。<br><br>*<strong>可选</strong>：<strong>支付渠道选择页面</strong> 由 Coda 设计并托管的支付页面，用户可以在该页面上从多种渠道中选择希望使用的支付方式</td><td>商家与Coda之间的纯后端集成——客户将不会被重定向到Coda的支付页面并将Coda的支付渠道集成到您的自定义UI中。</td><td>预构建的UI组件，可嵌入到您的结账流程中。</td></tr><tr><td>谁向用户展示支付信息？</td><td>Coda</td><td>商家</td><td>商家</td></tr><tr><td>Coda品牌是否会在支付过程中展示？</td><td>✅</td><td>❌</td><td>❌</td></tr><tr><td>转化率</td><td>高</td><td>不固定</td><td>不固定</td></tr><tr><td>集成复杂度</td><td>低</td><td>高</td><td>高</td></tr><tr><td>有哪些可用的支付渠道？</td><td>所有Coda支持的支付渠道</td><td>部分</td><td>部分</td></tr><tr><td>如何开始？</td><td><ul><li><a data-mention href="/pages/22IQChE6CwUnRx17X7mC">/pages/22IQChE6CwUnRx17X7mC</a></li><li><a data-mention href="/pages/hvIA6r214lXhfMV3fC7i">/pages/hvIA6r214lXhfMV3fC7i</a></li></ul></td><td><a data-mention href="/pages/B3BLc89e4XKu5XbrOGvV">/pages/B3BLc89e4XKu5XbrOGvV</a></td><td><strong>联系</strong> <a href="mailto:publisher_team@coda.co">publisher_team@coda.co</a></td></tr></tbody></table>


---

# 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/ji-cheng-zhi-nan/xuan-ze-fu-he-nin-ye-wu-xu-qiu-de-ji-cheng-lei-xing.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.
