> 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/ecom/implement-d1-ecom-enablement.md).

# Implement D1 eCom Enablement

Implement onboarding, Tokenization, transactions, and lifecycle handling with the D1 API.

Use this section to integrate D1 eCom Enablement into a merchant gateway or Payment Service Provider (PSP). You’ll onboard merchants, request Tokenization, create transactions, and handle lifecycle events.

### Implementation flow

1. Onboard a merchant.
2. Request Tokenization for an end user’s card.
3. Create CNP transactions with the token.
4. Handle recurring and split transactions.
5. Process token and card lifecycle events, when applicable.

### Guides

<table data-view="cards"><thead><tr><th>Title</th><th data-card-target data-type="content-ref">Target</th></tr></thead><tbody><tr><td>Onboard a merchant</td><td><a href="https://docs.payments.thalescloud.io/ecom/implement-d1-ecom-enablement/onboard-a-merchant.md">Onboard a merchant</a></td></tr><tr><td>Tokenization</td><td><a href="https://docs.payments.thalescloud.io/ecom/implement-d1-ecom-enablement/create-a-token.md">Create a token</a></td></tr><tr><td>Create a transaction</td><td><a href="https://docs.payments.thalescloud.io/ecom/implement-d1-ecom-enablement/create-a-transaction.md">Create a transaction</a></td></tr><tr><td>Handle recurring and split transactions</td><td><a href="https://docs.payments.thalescloud.io/ecom/implement-d1-ecom-enablement/handle-recurring-and-split-transactions.md">Handle recurring and split transactions</a></td></tr><tr><td>Delete a token (merchant/PSP)</td><td><a href="https://docs.payments.thalescloud.io/ecom/implement-d1-ecom-enablement/delete-a-token-merchant-psp.md">Delete a token (merchant/PSP)</a></td></tr><tr><td>Handle card lifecycle events</td><td><a href="https://docs.payments.thalescloud.io/ecom/implement-d1-ecom-enablement/handle-card-lifecycle-events.md">Handle card lifecycle events</a></td></tr><tr><td>Handle token lifecycle events</td><td><a href="https://docs.payments.thalescloud.io/ecom/implement-d1-ecom-enablement/handle-token-lifecycle-events.md">Handle token lifecycle events</a></td></tr></tbody></table>

### API integration

For security prerequisites and API docs, go to [Integrate the D1 API](https://docs.payments.thalescloud.io/ecom/integrate-the-d1-api.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/ecom/implement-d1-ecom-enablement.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.
