> 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-android/es/implement-nfc-wallet/tokenize-a-card/digitize-a-card/green-flow-digitization.md).

# Digitalización del flujo verde

## Resumen

El flujo verde es un flujo de tokenización en el que el backend del emisor aprueba la tokenización sin autenticación adicional.

Este flujo es común cuando el SDK de NFC Wallet está integrado en la aplicación del emisor y el usuario final ya está autenticado en la app.

## Experiencia de usuario

Ver Green [experiencia de usuario del flujo](/nfc-wallet-sdk-android/es/implement-nfc-wallet/tokenize-a-card.md#green-flow).

## Diagrama de secuencia

<figure><img src="/files/1be92f33e66ebeb2d1b0d15393ab9fcbe036a5ff" alt=""><figcaption></figcaption></figure>

## Integrar SDK

Después de [Comprobar la elegibilidad de la tarjeta](/nfc-wallet-sdk-android/es/implement-nfc-wallet/tokenize-a-card/check-card-eligibility.md). Implementa `MGDigitizationListener` para seguir el progreso de la digitalización y luego:

1. Llamar a `MGCardEnrollmentService.digitizeCard(...)`

   Incluye un `authenticationToken` generado por el backend de tu billetera digital.

   Deberías proporcionar una referencia de tu `MGDigitizationListener`
2. Si la tokenización se aprueba sin condiciones (flujo verde), el SDK emite estos callbacks:
   1. `onCPSActivationCodeAcquired`

      Recibes el `activationCode` para iniciar el aprovisionamiento seguro.

      Consulte [Activar el aprovisionamiento](/nfc-wallet-sdk-android/es/implement-nfc-wallet/tokenize-a-card/trigger-provisioning.md).
   2. `onComplete`

      Los pasos de digitalización se completan correctamente.
3. La **Tokenización** se completa cuando la sesión de aprovisionamiento se completa

   Comprobar callback `EnrollingServiceListener.onComplete(`) como se describe en [Activar el aprovisionamiento](/nfc-wallet-sdk-android/es/implement-nfc-wallet/tokenize-a-card/trigger-provisioning.md)


---

# 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/nfc-wallet-sdk-android/es/implement-nfc-wallet/tokenize-a-card/digitize-a-card/green-flow-digitization.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.
