Skip to main content

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 supply refund_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 payment refunded; deleting it marks the payment paid again.
Same flow as Payments. A refund can also be created/removed from the payment directly via POST / DELETE /payments/{id}/refund — both paths behave identically.

The refund object


List / search refunds

Query params: 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

Refunds a payment (full amount). The payment must not already have a refund (409 otherwise).
Returns the new refund (201); the payment is marked refunded.

Update a refund

Only the date and notes are editable (amount/payment/client/invoice are immutable — to change the amount, delete the refund and create a new one).

Delete a refund

Deletes the refund and marks the linked payment paid again.

Set tags

Full-set replace (empty clears).

Errors

See Getting started. Refund-specific: