Skip to main content

Update Vendor Credit Refund Payment

PUT 

/api/vendor-credits/:vendor_credit/payments/:payment

Update a refund payment previously recorded on a vendor credit. All fields are optional on update: payment_type_id, amount, payment_date, external_reference, currency_id. The updated amount cannot exceed the credit's remaining balance (the current payment's amount is excluded from that check), and currency_id must match the credit's currency.

Required scope: accounting:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

The credit's payment status is recalculated after the update. Returns an error when the payment does not belong to the vendor credit.

Request

Responses

OK

Response Headers
    Content-Type