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

> ## Agent Instructions
> Test in the sandbox first: base URL https://api-sandbox.y.uno (Test Mode in the Dashboard). Production is https://api.y.uno (Live Mode).
> Every API request needs the public-api-key and private-secret-key headers. Get them in the Dashboard at https://dashboard.y.uno/developers (Developers > Credentials); sandbox and production keys are different.
> Send an X-Idempotency-Key (a UUID) when creating payments, refunds and cancels, so retries do not create duplicates.
> Start with the Quickstart (https://docs.y.uno/docs/quickstart.md) and the agent guide (https://docs.y.uno/agents.md). To search these docs from a coding agent, connect the docs MCP server at https://docs.y.uno/mcp.

# 目标地址状态

> 说明 PCI Proxy 允许列表中目标地址的已启用、已停用和已移除状态

您的 PCI Proxy [目标地址允许列表](https://docs.y.uno/zh-hans/docs/security-and-compliance/pci-proxy/allowlist.md)中的每个主机都有一个状态，用于控制[转发代理](https://docs.y.uno/zh-hans/reference/pci-proxy/invoke-forward-proxy.md)能否向其发送卡数据。目标地址创建时处于 `ENABLED` 状态，可以在不丢失配置或审计历史的情况下切换状态。只有 `ENABLED` 状态的目标地址可以访问。发往 `DISABLED`（或已移除）主机的请求会被拒绝并返回 `403 DESTINATION_NOT_ALLOWED`。

## 工作流

```mermaid theme={"theme":{"light":"github-dark","dark":"github-dark-dimmed"}}
stateDiagram-v2
  direction LR
  [*] --> ENABLED: Register
  ENABLED --> DISABLED: Disable
  DISABLED --> ENABLED: Enable
  DISABLED --> [*]: Remove
```

目标地址在已启用或已停用状态下都可以被**移除**。移除是永久性的；该记录会离开允许列表，但删除操作仍会保留在仅追加的审计日志中。

## 目标地址状态

| 状态 | 描述 |
| :- | :- |
| `ENABLED` | 目标地址处于活跃状态。转发代理可以向此主机发送卡数据。目标地址注册后即处于此状态。 |
| `DISABLED` | 目标地址已暂停。其记录和审计历史会被保留，但在重新启用之前，转发代理不会使用它。发往该目标地址的请求会返回 `403 DESTINATION_NOT_ALLOWED`。 |
| *（已移除）* | 目标地址已从允许列表中删除。“列出目标地址”不再返回该目标地址，发往它的请求会被拒绝。删除操作仍会保留在仅追加的审计日志中。 |


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