Admin endpoint to retrieve all payments with pagination and filtering
Administrator endpoint for viewing all payment transactions across the platform. Supports pagination and filtering by payment status.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/PhemiT/vaniykeempire-api/llms.txt
Use this file to discover all available pages before exploring further.
pending - Payment intent created but not completedcompleted - Successfully processed paymentfailed - Payment failedrefunded - Payment refunded by adminpurchasedAt in descending order (newest first).
| Query | Description |
|---|---|
?status=completed | Only successful payments |
?status=pending | Payments awaiting completion |
?status=failed | Failed payment attempts |
?status=refunded | Refunded transactions |
| No status parameter | All payments regardless of status |
status and purchasedAt fields for faster filtering and sortingauthenticate and requireAdmin middlewarename and email fields onlytitle and type fields onlypurchasedAt descending (newest first)src/controllers/paymentController.js:154-179