Accounting API
Invoices
Refund Invoice
This API endpoint (POST) refunds an existing invoice. If the request succeeds, it returns an Invoice Object. Depending on the payment method, the refund will either be finalised automatically online or manually offline.
Permissions: invoices.edit
Webhook event: invoice-refunded
Currently, automated online refunds are supported for credit cards (Stripe), iDeal, Sofort, SEPA, Bancontact, P24 and Giropay.
id * The ID of the invoice to refund.
amount integer * The amount to refund in cents.
reason string * The possible values are requested_by_customer, duplicate, fraudulent and other.
products array of objects An array of objects each representing a product or invoice item that you wish to mark as refunded. Leave empty if you are marking the full invoice as refunded.