Permanently end and archive a contract along with all its terms. Any draft invoices will be canceled, and all upcoming scheduled invoices will be voided–also all finalized invoices can optionally be voided. Use this in the event a contract was incorrectly created and needed to be removed from a customer.
When archiving a contract, all associated commits and credits are also archived. For prepaid commits with active segments, Metronome automatically generates expiration ledger entries to close out any remaining balances, ensuring accurate accounting of unused prepaid amounts. These ledger entries will appear in the commit’s transaction history with type PREPAID_COMMIT_EXPIRATION
.
Archived contracts remain accessible for historical reporting and audit purposes. They can be retrieved using the ListContracts
endpoint by setting the include_archived
parameter to true
or in the Metronome UI when the “Show archived” option is enabled.
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Permanently end and archive a contract along with all its terms. Any draft invoices will be canceled, and all upcoming scheduled invoices will be voided–also all finalized invoices can optionally be voided. Use this in the event a contract was incorrectly created and needed to be removed from a customer.
Impact on commits and credits: When archiving a contract, all associated commits and credits are also archived. For prepaid commits with active segments, Metronome automatically generates expiration ledger entries to close out any remaining balances, ensuring accurate accounting of unused prepaid amounts. These ledger entries will appear in the commit's transaction history with type PREPAID_COMMIT_EXPIRATION.
Archived contract visibility:
Archived contracts remain accessible for historical reporting and audit purposes. They can be retrieved using the ListContracts
endpoint by setting the include_archived
parameter to true
or in the Metronome UI when the "Show archived" option is enabled.
The body is of type object
.
Success
The response is of type object
.