Refund an invoice
POST
https://api.tamio.com/v2/invoices/refund/{uuid}
Processes a full or partial refund for a paid invoice. Supports refunding specific products, custom amounts, and includes reason tracking for accounting and analytics.
Path Parameters
uuid
string*
UUID of the paid invoice to refund
Body Parameters
reason
string*
Reason for the refund
requested_by_customerduplicatefraudulentother
amount
integer
Custom refund amount in smallest currency unit (full amount if omitted)
instalment_invoice_id
string
Instalment invoice ID for partial instalment refunds
products
array of object
Specific products to refund (all products if omitted)
Responses
200
Invoice refunded successfully
Invoice refunded successfully
status
integer
invoice
Invoice
400
Bad request. Possible `error_code` values:
Bad request. Possible error_code values:
| Code | Description |
|---|---|
1002 | ResourceNotFound |
10117 | InvalidInvoice |
10261 | MollieOrderPaymentRefundNotAllowed |
10340 | InvoiceAlreadyRefunded |
10341 | InvalidRefundAmount |
status
integer
error
string
Human-readable error message
error_code
integer
Machine-readable error code
401
Missing or invalid API key
Missing or invalid API key
status
integer
error
string