Skip to main content

Delete Vendor Credit Refund Payment

DELETE 

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

Delete a refund payment from a vendor credit. The deleted amount becomes available on the credit again and the credit's payment status is recalculated.

Required scope: accounting:write

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

Returns the updated vendor credit. Returns an error when the payment does not belong to the vendor credit.

Request

Responses

OK

Response Headers
    Content-Type