# API Reference

Zotlo API enables you to manage subscriptions, payments, checkout, and reporting through secure, scalable, and developer-friendly endpoints.

With these APIs, you can build custom workflows, automate backend operations, and fully integrate Zotlo’s subscription and billing capabilities into your product.

In this section, you can explore the following topics:

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><h3>🧩</h3></td><td><h4><strong>API Introduction</strong></h4></td><td>Start by reviewing the API fundamentals, authentication rules, required headers, and response structure before making your first request.</td><td></td><td><a href="/pages/hRv14lnehWLGK9pVgRui">/pages/hRv14lnehWLGK9pVgRui</a></td></tr><tr><td><h3>⚠️ </h3></td><td><h4><strong>Error Handling</strong></h4></td><td>Learn how Zotlo APIs return errors, how to interpret error codes, and how to build robust integrations using standardized error formats.</td><td></td><td><a href="/pages/AVEzT3GV6vkYi5qHQyW7">/pages/AVEzT3GV6vkYi5qHQyW7</a></td></tr><tr><td><h3>🛒</h3></td><td><h4><strong>Checkout Endpoints</strong></h4></td><td>Explore how to generate checkout links, personalize payment flows, and integrate Zotlo into your purchase funnel.</td><td></td><td><a href="/pages/ghtJs2tCuYTuV8BhopXD">/pages/ghtJs2tCuYTuV8BhopXD</a></td></tr><tr><td><h3>🔄</h3></td><td><h4><strong>Subscriptions Endpoints</strong></h4></td><td>Manage subscription lifecycles, including creation, status checks, plan changes, cancellations, and renewal logic.</td><td></td><td><a href="/pages/vTMFal3ukqOHcSIZkYih">/pages/vTMFal3ukqOHcSIZkYih</a></td></tr><tr><td><h3>💳</h3></td><td><h4><strong>Payments Endpoints</strong></h4></td><td>Retrieve payment details, track transaction history, and query billing records for both subscriptions and one-time purchases.</td><td></td><td><a href="/pages/pRGjMNc9Z7rVjBECLv7m">/pages/pRGjMNc9Z7rVjBECLv7m</a></td></tr><tr><td><h3>📊</h3></td><td><h4><strong>Export Endpoints</strong></h4></td><td>Use high-performance reporting APIs to export transactions, subscriptions, and refund records with cursor-based pagination.</td><td></td><td><a href="/pages/T8ayLRBSgcIdKrNV5Sug">/pages/T8ayLRBSgcIdKrNV5Sug</a></td></tr><tr><td><h3>🏷️</h3></td><td><h4>Packages  Details </h4></td><td>Returns package details such as pricing, features, and type (subscription or one-time).</td><td></td><td><a href="/pages/cGosQTGgSj1ebiN0dSOx">/pages/cGosQTGgSj1ebiN0dSOx</a></td></tr></tbody></table>


---

# Agent Instructions: 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.zotlo.com/integrating-zotlo/api-reference.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.
