The
/payment-request/{id}
endpoint updates a specific payment request.
Method:PUT
Path Parameter:
Parameter | Type | Description |
---|---|---|
id | string | The unique identifier of the payment request |
Field | Type | Required | Description |
---|---|---|---|
PaymentSettingId | string | No | ID of the payment setting to update |
currency | string | No | Currency code |
amountUSD | number | No | Amount in USD |
amount | number | No | Amount in the specified currency |
memo | string | No | Optional memo |
Authentication
This endpoint requires authentication. Include your bearer token in the Authorization header.Path Parameters
Parameter | Type | In | Required | Description |
---|---|---|---|---|
id | string | path | ✅ | Payment Request ID |
Request Body
Request Schema
Field | Type | Required | Description |
---|---|---|---|
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 |
Responses
✅ 200 - Success
⚠️ 401 - Unauthorized
⚠️ 404 - Not Found
❌ 500 - Internal Server Error
Tags
Payment Requests
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Path Parameters
Payment Request ID
Body
application/json