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

# 环境与接入信息

> 查询 UQPAY 沙盒和生产环境的 API 地址、商户端地址及回调出口 IP。

## 环境地址

| 入口 | 沙盒环境 | 生产环境 |
| - | - | - |
| Gateway API Base URL | `https://api-sandbox.uqpaytech.com/api` | `https://api.uqpay.com/api` |
| 商户端 | [app-sandbox.uqpaytech.com](https://app-sandbox.uqpaytech.com) | [app.uqpay.com](https://app.uqpay.com) |

Gateway API Base URL 已包含 `/api` 前缀。具体接口的完整请求地址和支持的环境以对应 API 参考为准。

## Webhook 出口 IP

这些 IP 用于 UQPAY 向你的服务器发送 Webhook。若服务器限制入站来源，请在防火墙或安全组中放行对应环境的 IP。

### 沙盒环境

* `52.76.137.90`
* `52.221.8.28`

### 生产环境

* `18.143.59.64`
* `54.179.248.205`
* `13.250.234.88`
* `18.136.58.213`
* `56.10.39.6`

## 授权决策出口 IP

适用于 Card Issuance 的授权决策请求。若接收请求的服务器限制入站来源，请放行以下 IP。

### 沙盒环境

N/A

### 生产环境

* `18.139.246.78`
* `54.251.52.172`

## API 请求 IP 白名单

API 请求的方向为你的服务器 → UQPAY。在商户端为 API Key 配置 IP 白名单时，填写**你的服务器出口 IP**。

Webhook 和授权决策请求的方向为 UQPAY → 你的服务器，上方的 UQPAY 出口 IP 应配置在**你的服务器防火墙或安全组**中。

## 商户端配置入口

| 配置项 | 菜单位置 | 操作指南 |
| - | - | - |
| API Key 与请求 IP 白名单 | Developers → API Keys | [创建 API 密钥](/zh/account-center/v1.6/guide/create-api-keys) |
| Webhook endpoint | Developers → Webhooks | [配置 Webhook](/zh/account-center/v1.6/guide/webhooks-setting) |

授权决策接入配置见[授权决策指南](/zh/card-issuance/v1.6/guide/authorization-decisions#integration-steps)。


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