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

# 3DS Native SDKs (iOS)

> Run 3D Secure challenges natively in your iOS app with Netcetera's 3DS SDK.

> [!NOTE]
>
> **This page documents a legacy SDK.** Starting a new integration? Use the [Yuno SDK](https://docs.y.uno/docs/yuno-sdk/get-started.md). Already on a legacy SDK? Follow the [migration guide](https://docs.y.uno/docs/yuno-sdk/migration/overview.md).
>
> The new **Yuno SDK** (Web v2.x, iOS v3.x, Android v3.x, React Native v2.x) replaces the Full, Lite, Seamless, Render, Headless, and Secure Fields SDKs with one API across every platform. Legacy SDKs remain supported side by side during the transition and are scheduled for deprecation in **2027**. Contact your Account Manager for migration planning.

The Yuno iOS SDK supports running 3D Secure (3DS) challenges natively inside your app using **Netcetera's 3DS SDK**. Native 3DS gives a smoother UX than web-based challenges and may be required by some acquirers for frictionless authentication.

> [!NOTE]
>
> Native 3DS via Netcetera applies to both **payment** and **enrollment** flows.

> [!NOTE]
>
> Native 3DS is **opt-in**: you only need to install the module if your integration runs 3DS challenges in-app. If you are not enabling 3DS, you can skip this guide.

> [!NOTE]
>
> This is a separate module, so you only add it if you need native 3DS. If your app already customizes the Yuno SDK's styles, those styles propagate automatically to the challenge screen, no additional UI configuration is needed.

This guide covers what is specific to Netcetera. Installation and activation follow the same rules as every other module, see [External Native Modules (iOS)](https://docs.y.uno/docs/sdks/external-native-modules/ios-overview.md).

> [!WARNING]
>
> The previous standalone package, `yuno-3DS-netcetera-iOS`, is deprecated. Install the module from the `yuno-sdk-ios` package as described below.

## Requirements

* iOS **14.0** or higher.
* **YunoSDK 2.25.0 or higher** installed through Swift Package Manager. From 2.31.0, Swift Package Manager is the only distribution, with `YunoSDK` or `YunoSDK-Static`.
* The `Yuno3DSNetcetera` product from the same package (see below).

## Installation

The module ships in the same package as the Yuno SDK. In Xcode go to **File > Add Package Dependencies...**, add:

```
https://github.com/yuno-payments/yuno-sdk-ios
```

choose **Up to Next Major Version** from `2.31.0`, and tick the `Yuno3DSNetcetera` product next to `YunoSDK` or `YunoSDK-Static`. The Netcetera `ThreeDS_SDK` binary is resolved automatically from Netcetera's repository.

## Activating the 3DS provider

The provider **auto-registers** when the app launches, with either `YunoSDK` or `YunoSDK-Static`. No extra code is required:

```swift theme={"theme":{"light":"github-dark","dark":"github-dark-dimmed"}}
import YunoSDK

Yuno.initialize(apiKey: "YOUR_API_KEY", config: YunoConfig())
```

> [!TIP]
>
> Once registered, YunoSDK automatically routes any 3DS challenge through the Netcetera provider. **You don't need to change any of your payment or enrollment code.**

## Sandbox certificate

When testing against the Yuno sandbox environment, the Netcetera SDK requires a Visa test root certificate (`acq-root-certeq-prev-environment.crt`) to be present in your app's main bundle.

> [!NOTE]
>
> **Contact your Yuno TAM (Technical Account Manager) to obtain the certificate.** It is not distributed publicly.

Once you have the file:

**1. Add to Xcode**

Drag it into Xcode's Project Navigator inside your app target's group.

**2. Select target**

Check **Add to targets** and tick your app target.

**3. Verify bundle resources**

Verify it appears under **Target → Build Phases → Copy Bundle Resources**.

> [!NOTE]
>
> In production environments this certificate is not used and can be omitted from Release builds.

## Troubleshooting

> [accordion] Linker error mentioning YunoThreeDSRegistry
>
> Your `YunoSDK` is older than the version this module requires. Bump it to `>= 2.25.0`.

> [accordion] Console: acq-root-certeq-prev-environment.crt not found
>
> Only relevant in sandbox. Add the certificate to your app bundle (see [Sandbox certificate](#sandbox-certificate)). Safe to ignore in production.


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