> 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

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="/spaces/Ii0bpgsSo3R04ofjLwPG/pages/pqtwmiyuSJhcgeaJUQj3">/spaces/Ii0bpgsSo3R04ofjLwPG/pages/pqtwmiyuSJhcgeaJUQj3</a></td></tr><tr><td>Tokenization</td><td><a href="/spaces/Ii0bpgsSo3R04ofjLwPG/pages/eIEWB3BUaYNX9FggpHAp">/spaces/Ii0bpgsSo3R04ofjLwPG/pages/eIEWB3BUaYNX9FggpHAp</a></td></tr><tr><td>Create a transaction</td><td><a href="/spaces/Ii0bpgsSo3R04ofjLwPG/pages/E68u2KJgC72wOlILQbFu">/spaces/Ii0bpgsSo3R04ofjLwPG/pages/E68u2KJgC72wOlILQbFu</a></td></tr><tr><td>Handle recurring and split transactions</td><td><a href="/spaces/Ii0bpgsSo3R04ofjLwPG/pages/e6nC7AH2jYNo6vlBZRYq">/spaces/Ii0bpgsSo3R04ofjLwPG/pages/e6nC7AH2jYNo6vlBZRYq</a></td></tr><tr><td>Delete a token (merchant/PSP)</td><td><a href="/spaces/Ii0bpgsSo3R04ofjLwPG/pages/wDI0KJPHdxrxECPeqt4n">/spaces/Ii0bpgsSo3R04ofjLwPG/pages/wDI0KJPHdxrxECPeqt4n</a></td></tr><tr><td>Handle card lifecycle events</td><td><a href="/spaces/Ii0bpgsSo3R04ofjLwPG/pages/NfJ5F6KymYPg95DvuW2p">/spaces/Ii0bpgsSo3R04ofjLwPG/pages/NfJ5F6KymYPg95DvuW2p</a></td></tr><tr><td>Handle token lifecycle events</td><td><a href="/spaces/Ii0bpgsSo3R04ofjLwPG/pages/bYuwbquFsil7RC973VGo">/spaces/Ii0bpgsSo3R04ofjLwPG/pages/bYuwbquFsil7RC973VGo</a></td></tr></tbody></table>

### API integration

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