Skip to main content
PUT
Update payment

Authorizations

Authorization
string
header
required

Access token obtained from the /v1/auth/login endpoint

Path Parameters

paymentId
string<uuid>
required

The ID of the payment to update

Body

application/json
amount
number<float>
required
Example:

1000

payment_date
string<date> | null
Example:

"2023-06-25"

is_settled
boolean
Example:

true

notes
string | null
Example:

"Payment via bank transfer"

Response

Payment updated successfully

success
boolean
Example:

true

message
string
Example:

"Payment updated successfully"

data
object