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

# Green flow digitization

## Overview

Green flow is a Tokenization flow where the issuer backend approves Tokenization without step-up authentication.

This flow is common when the NFC Wallet SDK is integrated in the issuer application and the end user is already authenticated in-app.

## User experience

See Green [flow user experience](https://docs.payments.thalescloud.io/nfc-wallet-sdk-android/implement-nfc-wallet/tokenize-a-card.md#green-flow).

## Sequence diagram

<figure><img src="https://3480758197-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0KuRpRJHT65Q5KFpOJb4%2Fuploads%2FX4x1pCxgKciLpB6H7nSf%2FSequence%20Diagram%20-%20Implement%20the%20green%20flow.svg?alt=media&amp;token=dd183b4e-1109-4691-8e6e-a3364a9d7493" alt=""><figcaption></figcaption></figure>

## Integrate SDK

After you [Check card eligibility](https://docs.payments.thalescloud.io/nfc-wallet-sdk-android/implement-nfc-wallet/tokenize-a-card/check-card-eligibility.md). Implement `MGDigitizationListener` to track digitization progress and then:

1. Call `MGCardEnrollmentService.digitizeCard(...)`

   Include an `authenticationToken` generated by your digital wallet backend.

   You should provide a reference of your `MGDigitizationListener`
2. If Tokenization is approved with no conditions (green flow), the SDK emits theses callbacks:
   1. `onCPSActivationCodeAcquired`

      You receive the `activationCode` to start the secure provisioning.

      See [Trigger provisioning](https://docs.payments.thalescloud.io/nfc-wallet-sdk-android/implement-nfc-wallet/tokenize-a-card/trigger-provisioning.md).
   2. `onComplete`

      Digitization steps is completed successfully.
3. The **Tokenization** is completed when the provisioning session is completed

   Check callback `EnrollingServiceListener.onComplete(`) as described in [Trigger provisioning](https://docs.payments.thalescloud.io/nfc-wallet-sdk-android/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 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/nfc-wallet-sdk-android/implement-nfc-wallet/tokenize-a-card/digitize-a-card/green-flow-digitization.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.
