> ## Documentation Index
> Fetch the complete documentation index at: https://docs.localpayment.com/llms.txt
> Use this file to discover all available pages before exploring further.

# API密钥和环境

了解如何管理您的 API 凭证和环境配置，以便您可以安全、自信地与 Localpayment 集成。

为确保安全授权访问，所有对 Localpayment 的 API 请求都必须使用有效的 API 凭证进行身份验证。这可以保证您的交易和数据的完整性和保密性。

## 获取 API 凭证

与 Localpayment 建立合作关系后，您将获得**测试环境**的凭证。要获得**生产环境**的凭证，必须先完成与 Localpayment API 的集成，并通过认证。这样您才能安全地管理真实交易。

***

## 环境

| 环境 | 描述 | 网址 |
| - | - | - |
| **Stage** | 一个模拟生产环境而不影响真实世界数据的测试场地。 | `https://api.stage.localpayment.com` |
| **生产** | 实际金融交易发生的实时环境。 | `https://api.v3.localpayment.com` |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.