> ## 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.

# SCA 豁免

> 为符合条件的低风险或定期卡交易申请 PSD2 强客户认证豁免

## 了解 SCA 豁免

根据欧盟《支付服务指令第二版》（PSD2），电子支付必须进行强客户认证（SCA），以提升安全性并减少欺诈。不过，PSD2 规定了一些特定场景（称为 SCA 豁免），在这些场景下交易可以绕过标准认证要求。这些豁免旨在简化低风险交易的支付流程，在不影响安全性的前提下提升用户体验。

## 挑战请求指示符

`strong_customer_authentication_exemptions` 数组让商户能够指定其在交易过程中对应用强客户认证（SCA）豁免的偏好。通过使用该字段，商户可以请求某些交易免于标准认证挑战，从而提升客户体验，减少支付过程中的摩擦。

## 允许的值

`strong_customer_authentication_exemptions` 数组接受以下值，每个值对应一种特定的 SCA 豁免：

* **`LOW_VALUE`**：表示交易金额低于 PSD2 规定的小额阈值（通常低于 €30）。
* **`TRANSACTION_RISK_ANALYSIS`**：表示已进行交易风险分析（TRA），且该交易被认定为低风险。
* **`STRONG_CUSTOMER_AUTHENTICATION`**：表示认证责任已委托给已执行 SCA 的可信第三方。
* **`OUT_OF_SCOPE`**：表示不应考虑认证责任。
* **`SECURE_CORPORATE`**：表示该支付使用未分配给个人的安全企业卡进行。
* **`TRUSTED_BENEFICIARY`**：表示在首次 SCA 之后，商户已被添加到客户的可信受益人列表中。
* **`RECURRING_PAYMENT`**：表示该交易是向同一受益人进行的固定金额定期支付。

> [!NOTE]
>
> **Cartes Bancaires Safe'R（法国）**
>
> Safe'R 是 Cartes Bancaires（CB）基于 EMV 3DS 2.x 和 TRA 构建的计划。Yuno 的 API 中没有专门的 `SAFER` 标志。如需请求符合 Safe'R 条件的流程，请使用 `TRANSACTION_RISK_ANALYSIS` 豁免，并在支付请求中包含 CB 风险数据字段。
>
> 请尽可能多地提供以下信息，以最大限度地提高符合条件的可能性：
>
> * `customer_payer.ip_address`
> * `customer_payer.email`
> * `customer_payer.phone`
> * `customer_payer.billing_address.*`
> * `customer_payer.shipping_address.*`
> * `customer_payer.browser_info.*`（适用于 Web 流程）

## 实施示例

强客户认证豁免来自以下任一来源：

* **\[推荐]**：支付路由中欺诈服务提供商的事先分析：
  * ![](https://mintcdn.com/yuno-3979e326/m5ay49t24ir2tLEj/images/reference/sca-exemptions/image1.png?fit=max\&auto=format\&n=m5ay49t24ir2tLEj\&q=85\&s=0ec8aa4d69fec082f6159b236e84d24f)
* 通过 API 创建支付请求时进行定义。请确保所选值准确反映交易的性质。例如：

```json theme={"theme":{"light":"github-dark","dark":"github-dark-dimmed"}}
{
  [...],
  "payment_method": {
        "type": "CARD",
        "detail": {
            "card": {
                "card_data": {
                    "holder_name": "Paco",
                    "number": "4871049999999910",
                    "expiration_month": 3,
                    "expiration_year": 30,
                    "security_code": "737"
                },
               "three_d_secure": {
                        "strong_customer_authentication_exemptions": ["LOW_VALUE"]
                    }
            }
        }
    }
[...]
}
```

在此示例中，`strong_customer_authentication_exemptions` 设置为 LOW\_VALUE，表示该交易符合小额支付豁免条件。

### 注意事项

* *发卡机构的最终决定*：虽然商户可以使用 `strong_customer_authentication_exemptions` 字段请求豁免，但发卡机构拥有最终决定权，会根据其风险评估和合规政策接受或拒绝该豁免。
* *责任影响*：请求豁免可能会影响欺诈交易中的责任归属。请务必了解，如果豁免获准，与 SCA 相关的责任转移可能不适用。支付响应会在 `three_d_secure.liability_shift` 字段中反映这一点：请参阅 [3DS Standalone：响应字段](https://docs.y.uno/zh-hans/docs/payment-features/3ds-standalone.md#response-fields)。
* *法规合规*：请确保该字段的使用符合地区法规（例如欧洲的 PSD2），并确保您的实施遵守针对每种豁免类型规定的具体要求和阈值。


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