> 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/merchant-tokenization/es/taf-de-mastercard/implement-taf/eliminar-vinculacion-del-dispositivo.md).

# Eliminar vinculación del dispositivo

Elimine una vinculación del dispositivo de una aplicación del comerciante usando el SDK de Thales.

## Flujo

<figure><img src="/files/49f20febeb8875e8e61462a372614384ddf90b5d" alt=""><figcaption><p>Flujo de eliminación de la vinculación del dispositivo iniciado por la aplicación.</p></figcaption></figure>

<table><thead><tr><th width="100">Paso</th><th>Descripción</th></tr></thead><tbody><tr><td>1</td><td>La aplicación del comerciante llama al SDK de Thales para eliminar la vinculación del dispositivo para el token.</td></tr><tr><td>2-4</td><td>El backend de Thales envía la solicitud de eliminación a la red de pagos, que coordina la eliminación con el backend del emisor.</td></tr><tr><td>5-6</td><td>El SDK de Thales devuelve el resultado a la aplicación del comerciante.</td></tr><tr><td>7</td><td>El backend de Thales envía una notificación al backend del comerciante o del PSP.</td></tr></tbody></table>

## Integración del SDK

Llamar `removeBinding` y gestione el resultado en `onSuccess` o `onError`.

{% tabs %}
{% tab title="Android" %}

```java
mastercardTAFHelper.removeBinding(tokenID, correlationID, new RemoveBindingListener() {
    @Override
    public void onError(TMGClientException tmgClientException) {
        // Gestionar error
    }

    @Override
    public void onSuccess() {
        // Actualizar el estado local de la vinculación si es necesario
    }
});
```

{% endtab %}

{% tab title="iOS" %}

```swift
mastercardTAFHelper.removeBinding(forTokenID: tokenID,
                                  correlationID: correlationID) { error in
    if error == nil {
        // Actualizar el estado local de la vinculación si es necesario
    } else {
        // Gestionar error
    }
}
```

{% endtab %}
{% endtabs %}

## Integración del backend

El backend de Thales notifica a su backend del comerciante o del PSP cuando se elimina la vinculación del dispositivo.

* Referencia de la API: [Notificar actualización de la vinculación](broken://spaces/a85EIhFX2mdFWkx8cQs4/pages/7940a0eb7370c619e698b570ff413c641573dca7#post-notify-binding-update)


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.payments.thalescloud.io/merchant-tokenization/es/taf-de-mastercard/implement-taf/eliminar-vinculacion-del-dispositivo.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
