Get Payments
Description:
The /payment/
endpoint retrieves a list of payments with filtering and pagination options.
Method:
GET
Query Parameters:
Parameter | Type | Description |
---|---|---|
q (Optional) | string | Search query to filter payments |
page (Optional) | integer | Page number for pagination. Default: 1 |
size (Optional) | integer | Number of payments per page. Default: 10 |
sort (Optional) | string | Field to sort by. Default: āupdatedAtā |
order (Optional) | string | Sort order (āascā or ādescā). Default: ādescā |
user (Optional) | string | Filter by user ID |
currency (Optional) | string | Filter by currency |
dateFrom (Optional) | string | Filter payments from this date |
dateTo (Optional) | string | Filter payments to this date |
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Search query to filter payments
Page number for pagination
Number of payments per page
Field to sort by
Sort order ('asc' or 'desc')
asc
, desc
Filter by user ID
Filter by currency
Filter payments from this date
Filter payments to this date
Success
The response is of type object
.