> For the complete documentation index, see [llms.txt](https://yokifinance.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yokifinance.gitbook.io/docs/subscription-payments/for-merchant/data-export.md).

# Data export

The merchant has multiple options to get the number of subscribers and their payments.

**API Endpoints**

Yoki Finance provides two API endpoints supplying data in CSV format (which can be easily imported into Google Sheets). This is a private endpoint for each merchant.

1. GetSubscribers – returns a list of subscribers (email, wallet address, payment plan, activeSubscription: true/false – to include past subscribers) for the merchant.
2. GetPayments – returns a log of payments for the merchant. Each row includes
   1. Subscriber data (email  (if previously provided in the redirection request), wallet address, product, pricing, etc).
   2. Payment date/time and status.
   3. Single payment amount.

**CSV Export**

<figure><img src="/files/ci6tUmF8c7M6AchvryZp" alt=""><figcaption><p><strong>CSV Export</strong></p></figcaption></figure>

The second option for the merchant is to connect with his wallet to the *<https://yoki.fi/\\*merchant-name\\*/statistic>* page and download the subscriptions and payment data.\ <br>


---

# 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://yokifinance.gitbook.io/docs/subscription-payments/for-merchant/data-export.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.
