> 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/transit-digitization/es/implementar-apple-transit/ticketing-basado-en-cuentas-abt/gestion-del-ciclo-de-vida/aparcar-desde-el-dispositivo.md).

# Aparcar desde el dispositivo

El flujo de trabajo de estacionamiento iniciado por el dispositivo se activa cuando el usuario elimina la tarjeta de Apple Wallet. Dado que esta acción se realiza directamente en el dispositivo, se garantiza que el dispositivo esté en línea.

Esta sección proporciona una visión general del flujo de trabajo, incluyendo pasos detallados, diagramas de secuencia y posibles escenarios de error.

### Flujo de trabajo <a href="#workflow" id="workflow"></a>

A continuación se muestran los pasos de alto nivel del flujo de trabajo de estacionamiento iniciado por el dispositivo:

1. **Eliminación de la tarjeta**: El usuario selecciona la tarjeta de transporte y toca 'Eliminar tarjeta' para iniciar el proceso de eliminación.
2. **Desvincular tarjeta**: Apple notifica a la plataforma D1 Transit que el usuario ha eliminado la tarjeta de transporte de su dispositivo. Dado que se desencadena desde el dispositivo, se garantiza que la instancia de la tarjeta digital se elimine del dispositivo.

### Diagrama de secuencia <a href="#sequence-diagram" id="sequence-diagram"></a>

#### Desvincular tarjeta <a href="#unlink-card" id="unlink-card"></a>

Cuando el usuario selecciona la tarjeta de transporte para eliminarla, Apple inicia una llamada a la API managePass a la plataforma D1 Transit con la acción **desvincular**. Dado que se garantiza que el dispositivo esté en línea, la tarjeta se eliminará de Apple Wallet, por lo que D1 Transit envía un manageDigitalCard(delete) al Emisor de Transporte.

<figure><img src="https://3364212302-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZoFRCpZeaDWwcHYhJY7B%2Fuploads%2FDy7WwjGXdP5JDUEfT0O8%2FSequence%20Diagram%20%E2%80%93%20Park%20from%20Device.svg?alt=media&amp;token=a9effb02-8967-4248-9f53-b9fde747f9a0" alt=""><figcaption></figcaption></figure>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.payments.thalescloud.io/transit-digitization/es/implementar-apple-transit/ticketing-basado-en-cuentas-abt/gestion-del-ciclo-de-vida/aparcar-desde-el-dispositivo.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
