> For the complete documentation index, see [llms.txt](https://docs.payments.thalescloud.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.payments.thalescloud.io/nfc-wallet-sdk-ios/es/implement-nfc-wallet/check-contactless-capability.md).

# Comprobar la capacidad de pago sin contacto

## Resumen

Ejecute esta comprobación si su **aplicación de billetera digital** admite pagos sin contacto.

Llámelo después de **inicialización del SDK de NFC Wallet** inicialización, y antes de [Inscribir billetera](/nfc-wallet-sdk-ios/es/implement-nfc-wallet/enroll-wallet.md) y **Tokenización**.

{% hint style="info" %}
Si el dispositivo no es elegible para pagos sin contacto, oculte o desactive los puntos de entrada de pago sin contacto para el **usuario final**.
{% endhint %}

## Integración del SDK

Use `deviceEligibility` con `contactlessPaymentEligibility`.

Maneje estos resultados:

* `compatible`: El dispositivo puede realizar pagos sin contacto.
* `deviceNotSupported`: El dispositivo no admite NFC ni HCE.
* `systemNotEligible`: El dispositivo o el ID de Apple no están en el EEE (Espacio Económico Europeo).
* `iosVersionNotSupported`: El dispositivo no cumple la versión mínima de iOS (iOS 17.4).

```swift
let contactlessEligibility = await TSHPay.shared.deviceEligibility.contactlessPaymentEligibility
            
switch contactlessEligibility {
  case .deviceNotSupported(let reason):
      // El dispositivo no es elegible debido a la ausencia de soporte para NFC o HCE.
      break
  case .systemNotEligible:
      // El sistema no es elegible porque el dispositivo o el ID de Apple no están en el EEE.
      break
  case .iosVersionNotSupported(let currentVersion):
      // La versión del SO no cumple la versión mínima requerida (iOS 17.4).
      break
  case .supported:
      // El dispositivo es elegible para realizar pagos sin contacto.
      break
}
```

{% hint style="info" %}
Ejecute esta comprobación antes de llamar a [Inscribir billetera](/nfc-wallet-sdk-ios/es/implement-nfc-wallet/enroll-wallet.md) y [Tokenizar una tarjeta](/nfc-wallet-sdk-ios/es/implement-nfc-wallet/tokenize-a-card.md).
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.payments.thalescloud.io/nfc-wallet-sdk-ios/es/implement-nfc-wallet/check-contactless-capability.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
