Archive a contract-level or customer-level commit. Use this endpoint to deactivate a commit while preserving historical records. You will not be able to archive a commit until all of the finalized usage invoices the commit has been applied to are voided, and all of the finalized invoices for commit payment have been voided.
Example workflow: The customer was provisioned a prepaid commit erroneously. It was applied to their most recent finalized usage invoice.
listCustomerCommits
or listCustomerBalances
. Use the include_archived
parameter to choose to fetch the details.editCommit
endpoint, or adding a manual ledger entry using the addManualBalanceLedgerEntry
endpoint.Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Customer ID and Commit ID to archive
The body is of type object
.
Success
The response is of type object
.