> For the complete documentation index, see [llms.txt](https://docs.zotlo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zotlo.com/integrating-zotlo/api-reference/payments-endpoints.md).

# 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>
