Skip to main content
GET
/
payment-request
/
{id}
Get Payment Request
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/payment-request/{id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Payment request retrieved successfully",
  "paymentRequest": {
    "id": "0654cd19-cea3-4fad-b92e-4033c4252c79",
    "status": "pending",
    "currency": "USD",
    "amount": 74000,
    "amountUSD": 100
  }
}
Get Payment Request Description:
The /payment-request/{id} endpoint retrieves details of a specific payment request by its ID.
Method:
GET
Path Parameter:
ParameterTypeDescription
idstringThe unique identifier of the payment request

Authentication

This endpoint requires authentication. Include your bearer token in the Authorization header.

Path Parameters

ParameterTypeInRequiredDescription
idstringpathPayment Request ID

Responses

✅ 200 - Success

⚠️ 401 - Unauthorized

⚠️ 404 - Not Found

❌ 500 - Internal Server Error

Tags

Payment Requests

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Payment Request ID

Response

Success

message
string
paymentRequest
object
I