Skip to main content
PUT
/
payment-request
/
{id}
Update Payment Request
curl --request PUT \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/payment-request/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "PaymentSettingId": "<string>",
  "currency": "<string>",
  "amountUSD": 123,
  "amount": 123,
  "memo": "<string>"
}'
{
  "message": "Payment request updated successfully"
}
Update Payment Request Description:
The /payment-request/{id} endpoint updates a specific payment request.
Method:
PUT
Path Parameter:
ParameterTypeDescription
idstringThe unique identifier of the payment request
Request Body:
FieldTypeRequiredDescription
PaymentSettingIdstringNoID of the payment setting to update
currencystringNoCurrency code
amountUSDnumberNoAmount in USD
amountnumberNoAmount in the specified currency
memostringNoOptional memo

Authentication

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

Path Parameters

ParameterTypeInRequiredDescription
idstringpathPayment Request ID

Request Body

Request Schema

FieldTypeRequiredDescription
PaymentSettingIdstringID of the payment setting to update
currencystringCurrency code
amountUSDnumberAmount in USD
amountnumberAmount in the specified currency
memostringOptional memo

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

Body

application/json
PaymentSettingId
string

ID of the payment setting to update

currency
string

Currency code

amountUSD
number

Amount in USD

amount
number

Amount in the specified currency

memo
string

Optional memo

Response

Success

message
string
paymentRequest
object
I