GET
/
payment
/
Get Payments
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/payment/ \
  --header 'Authorization: Bearer <token>'
{
  "message": "Payments retrieved successfully",
  "payments": [],
  "total": 0,
  "page": 1,
  "size": 10
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Query Parameters

q
string

Search query to filter payments

page
integer
default:1

Page number for pagination

size
integer
default:10

Number of payments per page

sort
string
default:updatedAt

Field to sort by

order
enum<string>
default:desc

Sort order ('asc' or 'desc')

Available options:
asc,
desc
user
string

Filter by user ID

currency
string

Filter by currency

dateFrom
string<date>

Filter payments from this date

dateTo
string<date>

Filter payments to this date

Response

200
application/json

Success

The response is of type object.