> 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/sha-he-huan-jing-ce-shi-zhi-nan/sha-he-pei-zhi-he-sheng-chan-huan-jing-pei-zhi.md).

# 沙盒配置和生产环境配置

要进行配置，请前往 [Coda 后台 ](https://portal.coda.co)-> 产品 -> Codapay -> Sandbox Configuration

## 商户与 URL 配置

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

<figure><img src="/files/HI4RvTpKk7OjZeB2EV8C" alt="" width="375"><figcaption></figcaption></figure>

Backend API: 如需使用 [后端API集成](/https-coda-payments.gitbook.io-zhong-wen-coda-private-technical-documentation/codapay/hou-duan-api-ji-cheng.md), 请勾选此项

**USD Price Notification**: 启用后，回调参数中将会在末尾附加初始的 USD 价格（仅适用于 "currency": 840 的情况）。

> 范例
>
> <https://sample.com/notify/callback?TxnId=6366201293481272797\\&OrderId=CodaTest\\&TotalPrice=1426935.00&> PaymentType=23\&ResultCode=0\&Checksum=bbb4828b8d2a1bafb123a12b55d666f5\&USDPrice=100.00

**Failed Notification:** 通知 URL 也会接收到失败交易的通知，包括已过期的交易。

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

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

## 支付页面配置

<figure><img src="/files/3Eg2yzjLVkxoO8MaAxJT" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/0rZ79yswnj3eKcP4wq7x" alt=""><figcaption></figcaption></figure>


---

# 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/sha-he-huan-jing-ce-shi-zhi-nan/sha-he-pei-zhi-he-sheng-chan-huan-jing-pei-zhi.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.
