Query all payments with filtering, sorting, pagination, and search capabilities
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Start date for filtering payments (YYYY-MM-DD)
End date for filtering payments (YYYY-MM-DD)
Payment status filter
SUCCESS
, SETTLED
, PROCESSING
, PENDING
, FAILED
Currency filter (e.g., TZS, USD)
Payment channel filter
Payment ID filter
Order reference filter
Client ID filter
Field to sort by (default: createdAt). All response fields are sortable including customer fields
Sort order (default: DESC)
ASC
, DESC
Number of records to skip for pagination
x >= 0
Number of records to return
x >= 1
Search across specific fields using format: field=keyword,another_field=another_keyword. Available searchable fields: id, status, paymentReference, orderReference, collectedAmount, collectedCurrency, message, createdAt, updatedAt, customer.customerName, customer.customerPhoneNumber, customer.customerEmail. Example: search=customer.customerName=John,collectedCurrency=TZS,status=SUCCESS
Query all payments response
The response is of type object
.