> 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-payment/implement-nfc-payment/make-payment/payment-experience/transit.md).

# Transit

### Overview

A `transit transaction` is a contactless transaction performed at a transit terminal, such as a subway gate reader.

According to Mastercard and Visa implementation guides for transit, a transit transaction is typically treated as a `zero-amount ODA transaction` (offline transaction).

In high-traffic environments, speed is critical. To improve the user experience, a transit transaction can be completed without end user authentication. This is how the `transit experience` works in NFC Payment.

{% hint style="warning" %}
For a **Mastercard** digital card profile, the CVM model must be **Flexible CDCVM** and must support payments without authentication for transit use cases.
{% endhint %}

### User experience

The end user taps the transit reader to access the transit system. The transaction uses the default digital card. No end user authentication is required.

### Flow

<figure><img src="/files/UZuJphQx7T7JeWXUB6EQ" alt=""><figcaption><p>Transit payment experience.</p></figcaption></figure>

### SDK

Configure the transit experience during D1 SDK initialization, as shown in the code snippet below.

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

```java
// NFC Payment configuration: transit transaction
D1PayConfigParams configParams = D1PayConfigParams.getInstance();
// Set to true to allow a transit transaction without CDCVM.
configParams.setTransitExperienceAllowed(true);
```

{% endtab %}
{% endtabs %}


---

# 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-payment/implement-nfc-payment/make-payment/payment-experience/transit.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.
