Refunds
The Refunds API provides CRUD access to refunds plus tags.New to the API? Start with Getting started (base URL, response envelope, errors, pagination) and Authentication (API keys).
Identifier note: refunds are addressed by their numeric refund_id.
A refund belongs to a payment. You supplyrefund_paymentid; the amount, client and invoice are derived from that payment (a refund is for the full payment amount — there are no partials, and one refund per payment). Creating a refund marks the paymentrefunded; deleting it marks the paymentpaidagain.
Same flow as Payments. A refund can also be created/removed from the payment directly viaPOST/DELETE /payments/{id}/refund— both paths behave identically.
The refund object
List / search refunds
payment_id, client_id, invoice_id, date_start, date_end, search,
tags[], sort (refund_date,refund_amount,refund_created), order, limit, page.
Get a refund
Create a refund
409 otherwise).
201); the payment is marked refunded.
Update a refund
Delete a refund
paid again.