> 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/zhong-ding-xiang-url-xiang-qing.md).

# 重定向 URL 详情

这些URL决定了用户在Coda支付界面中发起或完成订单后被重定向到哪个页面。

## 如何配置重定向URL

您可以随时在Coda后台中配置URL。请参阅 [开始支付渠道设置](/https-coda-payments.gitbook.io-zhong-wen-coda-private-technical-documentation/codapay/codapay-ru-men-zhi-nan/kai-shi-zhi-fu-qu-dao-she-zhi.md) 。

## 重定向URL的类型

您必须配置三种类型的重定向URL。如果不需要分类，合作伙伴可以重用相同的重定向地址。

1. **完整登录页面 UR**L：将用户重定向到一个页面，显示他们订单交易状态。
2. **银行转账交易待处理重定向 URL：**&#x5C06;用户重定向到一个页面，显示他们的银行转账交易正在待处&#x7406;**。**
3. **便利店交易待处理重定向 URL：**&#x5C06;用户重定向到一个页面，显示他们的便利店支付交易正在待处理。

## 完整登录页面 UR&#x4C;**:**

当用户完成运营商计费、电子钱包或卡支付后离开Coda的支付页面时，他们将被重定向到完整登录页面 URL。此URL通过GET方法访问，包含以下参数：

<table><thead><tr><th width="115">参数</th><th width="105">类型</th><th width="99">长度</th><th>描述</th></tr></thead><tbody><tr><td>TxnId</td><td>Numeric</td><td>N/A</td><td>从<a href="/pages/NtwMPRSj4Z4bfAr9JhEt">支付请求发起</a>返回的Coda订单ID。</td></tr><tr><td>OrderId</td><td>String</td><td>64</td><td>您在<a href="/pages/NtwMPRSj4Z4bfAr9JhEt">支付请求发起</a>时传递的订单ID。</td></tr></tbody></table>

**示例**

```
http://new.merchant.com/complete.php?TxnId=XXXXXXXXX&OrderId=YYYYYYYYY
```

**说明**

在此页面上，您应在您的应用页面内展示订单结果给用户。

***

## 银行转账交易待处理重定向 URL

当客户在发起银行转账后离开Coda的支付页面时，他们将被重定向到银行转账交易待处理重定向URL。**此URL仅适用于印度尼西亚和菲律宾的银行转账**。

此URL通过GET方法访问，包含以下参数：

<table><thead><tr><th width="115">参数</th><th width="105">类型</th><th width="99">长度</th><th>描述</th></tr></thead><tbody><tr><td>TxnId</td><td>Numeric</td><td>N/A</td><td>从<a href="/pages/NtwMPRSj4Z4bfAr9JhEt">支付请求发起</a>返回的Coda订单ID。</td></tr><tr><td>OrderId</td><td>String</td><td>64</td><td>您在<a href="/pages/NtwMPRSj4Z4bfAr9JhEt">支付请求发起</a>时传递的订单ID。</td></tr></tbody></table>

示例

```
http://new.merchant.com/atm-pending.php?TxnId=XXXXXXXXX&OrderId=YYYYYYYY
```

说明

您应在您的应用页面内展示一条消息，阐明订单状态，例如：“您的订单已确认，正在等待支付。请按照提供的说明在ATM完成支付。一旦支付完成，我们将立即处理您的订单。"

***

## 便利店交易待处理重定向 URL

当用户在发起便利店支付后离开Coda的支付页面时，他们将被重定向到便利店交易待处理重定向URL。

此URL通过GET方法访问，包含以下参数：

<table><thead><tr><th width="115">参数</th><th width="105">类型</th><th width="99">长度</th><th>描述</th></tr></thead><tbody><tr><td>TxnId</td><td>Numeric</td><td>N/A</td><td>从<a href="/pages/NtwMPRSj4Z4bfAr9JhEt">支付请求发起</a>返回的Coda订单ID。</td></tr><tr><td>OrderId</td><td>String</td><td>64</td><td>您在<a href="/pages/NtwMPRSj4Z4bfAr9JhEt">支付请求发起</a>时传递的订单ID。</td></tr></tbody></table>

**示例**

```
http://new.merchant.com/otc-pending.php?TxnId=XXXXXXXXX&OrderId=YYYYYYYYY
```

**说明**

您应在您的应用页面内展示一条消息，阐明订单状态，例如：“您的订单已确认，正在等待支付。请按照提供的说明在ATM完成支付。一旦支付完成，我们将立即处理您的订单。"


---

# 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/zhong-ding-xiang-url-xiang-qing.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.
