> 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/codapay-jie-ru-chang-jian-wen-ti/zhi-fu-ye-mian-api/ji-cheng-qian.md).

# 集成前

#### 1. **API 密钥在哪里？**

Coda后台 -> 集成 -> Codapay -> API Keys

**新商户：**

* 您将获得统一 API 密钥，这些密钥仅适用于 Codapay v2.0 API。详细信息请参考[此处](broken://pages/4QDq3jFWAMdcmqWYvGJu)。

**原有商户：**

* 每个集成的游戏或平台（称为“标题”）将有一组 API 密钥，每个国家的 API 密钥是独立的。
* 如果您需要在不同国家开设新账户，请通知 Coda Business 为该国家创建新的 API 密钥。
* 当前的 API 密钥仅适用于 Codapay v1.0 API。如果您希望使用统一 API 密钥以简化集成和密钥管理，请联系 Coda。此操作需要迁移到 Codapay v2.0 API，但核心结构与 v1.0 API 保持不变。

<figure><img src="/files/YGeqUtQVwpdANmrKHK53" alt=""><figcaption><p>新商户</p></figcaption></figure>

<figure><img src="/files/npa7tpVRFC2kYFNXjA13" alt=""><figcaption><p>原有商户</p></figcaption></figure>

***

#### **2. 沙盒环境和生产环境使用的 API 密钥是一样的吗？**

**新商户，使用统一 API 密钥：** 不，沙盒环境和生产环境有不同的 API 密钥。

**已有商户：** 是的，两个环境使用相同的 API 密钥

***

#### **3. 我可以使用哪些货币？**

商户可以选择使用本地货币或美元。如果选择美元，Coda 系统会自动将美元转换并在支付页面上显示本地货币。

有关美元的更多详情，请参考美元交易发起

***

**4. 哪里可以查看支付渠道的金额限额、价格区间列表以及每个支付订单的过期时间？**

[各渠道金额及限制](/https-coda-payments.gitbook.io-zhong-wen-coda-private-technical-documentation/codapay/ji-cheng-zhi-nan/ge-qu-dao-jineji-xian-zhi.md)

***

#### **5. 渠道的LOGO哪里找？** [品牌指南](/https-coda-payments.gitbook.io-zhong-wen-coda-private-technical-documentation/codapay/ji-cheng-zhi-nan/pin-pai-zhi-nan.md)

***

#### **6. `initRequest` 中的`items.code`值会出现在回调中吗？**

不会。该值不会在回调中返回。请参考 [回调通知详情](/https-coda-payments.gitbook.io-zhong-wen-coda-private-technical-documentation/codapay/zhi-fu-ye-mian-api-ji-cheng/hui-tiao-tong-zhi-xiang-qing.md)

***

#### 7. **我在请求中传入自定义参数（如 `game_id`），系统会记录或返回这些参数吗？**

不会。所有自定义参数不会被系统记录，也不会在回调中返回。

***

#### **8. 我没有对应支付渠道的本地钱包/账户，Coda 是否提供任何测试账户信息，供我在沙盒环境中使用并模拟支付？**

部分支付渠道支持通过虚拟钱包、手机号码或卡号进行模拟，或者使用 Coda 的模拟器完成沙盒测试。

但某些渠道不支持沙盒测试，商户只需确保支付页面能够在沙盒环境中成功加载。 详细沙盒环境测试账户信息，请参考[支付渠道沙盒指南](/https-coda-payments.gitbook.io-zhong-wen-coda-private-technical-documentation/codapay/ji-cheng-zhi-nan/sha-he-huan-jing-ce-shi-zhi-nan.md)。

***

#### 9. 为什么我会收到错误码 225？

该支付渠道尚未激活。

* 如果已完成法务审批，请登录 **Coda portal > Payment methods > Approve** 来激活该渠道。
* 若为新商家，请先确保合同流程已全部完成。
* 如果不确定，请联系 Coda 技术团队协助检查设置。

***

#### 10. 为什么我会收到错误码 233？

* 请确认你请求的 [payType](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) 值是否正确；
* 如有缺失配置，请前往 **Coda portal > Sandbox/Production Configuration > Coda payment page configuration**，选择你想接入的支付渠道进行配置。


---

# 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/codapay-jie-ru-chang-jian-wen-ti/zhi-fu-ye-mian-api/ji-cheng-qian.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.
