Skip to main content
PUT
Update Payment
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

Update Payment Description: The /payment/{id} endpoint updates a specific payment. Method: PUT Authorization:
  • Required role: admin or higher
Path Parameter: Request Body:

Code Examples

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Payment ID

Body

application/json
user
string

TenantUserId associated with the payment

title
string

Title/description of the payment

transactionDate
string

Date and time of the transaction

currency
string

Currency code

amount
number

Amount in the specified currency

amountUSD
number

Amount converted to USD

conversionRate
number

Exchange rate used for conversion

memo
string

Optional memo

Response

Success

message
string
payment
object