# 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="payments-endpoints/get-payment-details">get-payment-details</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="payments-endpoints/refund-payment">refund-payment</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="payments-endpoints/user-payment-history">user-payment-history</a></td></tr></tbody></table>
