# Payments Endpoints

Zotlo’s Payment API lets you access and manage every part of the payment lifecycle.\
You can retrieve detailed transaction data, issue refunds programmatically, and fetch a user’s complete payment history, including both subscription and one-time purchases.

Explore the payment endpoints:

<table data-view="cards"><thead><tr><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>Get Payment Details</strong></h4></td><td>Fetch full transaction information, including provider response, metadata, payment method, subscription linkage, and logs.</td><td><a href="/pages/cXewNvlVYIY6hmMtfq6x">/pages/cXewNvlVYIY6hmMtfq6x</a></td></tr><tr><td><h3>↩️ </h3></td><td><h4><strong>Refund Payment</strong></h4></td><td>Initiate a refund for any eligible transaction, with provider-level response data included in the API output.</td><td><a href="/pages/kUhd7uZ0JM6KM4L3nOgB">/pages/kUhd7uZ0JM6KM4L3nOgB</a></td></tr><tr><td><h3>📜</h3></td><td><h4><strong>User Payment History</strong></h4></td><td>List all payments made by a specific user, filterable by date range, package, and payment type (subscription or one-time).</td><td><a href="/pages/96w1qtRF66ooRAxUpmNu">/pages/96w1qtRF66ooRAxUpmNu</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/payments-endpoints.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.
