Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.iterapay.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Archiving an invoice removes it from default listings without permanently deleting it. Use this to keep your active invoice list clean while retaining historical records. Archived invoices can still be retrieved by passing showArchived=true when listing invoices.
Archiving an invoice is not the same as deleting it. The invoice and its associated transaction history remain accessible. If you need to permanently remove an invoice, use the delete endpoint instead.

Path parameters

merchantID
string
required
The UUID of the merchant account that owns the invoice.
invoiceID
string
required
The UUID of the invoice to archive.

Response

Returns 204 No Content on success. No response body is returned.
curl --request POST \
  --url https://api.iterapay.com/merchants/b0fcc813-a7ce-4bbc-932f-dbef6f59ca7f/invoices/b0fcc813-a7ce-4bbc-932f-dbef6f59ca7f \
  --header 'Authorization: Bearer <token>'
(no content)