Refund an instalment invoice
POST
https://api.tamio.com/v2/invoices/instalments/refund/{uuid}
Processes a refund for a specific instalment payment within an instalment plan. Allows refunding individual instalments while keeping the rest of the payment plan intact.
Path Parameters
uuid
string*
UUID of the main invoice containing the instalment plan
Body Parameters
instalment_invoice_id
string*
Specific instalment invoice ID to refund
reason
string*
Reason for the instalment refund
requested_by_customerduplicatefraudulentother
amount
integer
Custom refund amount in smallest currency unit (full instalment amount if omitted)
Responses
200
Instalment invoice refunded successfully
Instalment 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 |
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