GET
/
payment-request
/
Get Payment Requests
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/payment-request/ \
  --header 'Authorization: Bearer <token>'
{
  "message": "Payment requests retrieved successfully",
  "paymentRequests": [],
  "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 payment requests

page
integer
default:1

Page number for pagination

size
integer
default:10

Number of requests per page

status
enum<string>

Filter by status

Available options:
pending,
approved,
declined
user
string

Filter by user ID

Response

200
application/json

Success

The response is of type object.