Archive billing provider configurations for a customer
Customers
Archive billing provider configurations for a customer
Deprecate an existing billing configuration for a customer to handle churn or billing and collection preference changes. Archiving a billing configuration takes effect immediately. If there are active contracts using the configuration, Metronome will archive the configuration on the contract and immediately stop metering to downstream systems.
Use this endpoint to:
- Remove billing provider customer data and configurations when no longer needed
- Clean up test or deprecated billing provider configurations
- Free up uniqueness keys for reuse with new billing provider configurations
- Disable threshold recharge configurations associated with archived billing providers
Key response fields:
A successful response returns:
success: Boolean indicating the operation completed successfullyerror: Null on success, error message on failure
Usage guidelines:
- Archiving a contract configuration during a grace period will result in the invoice not being sent to the customer
- Automatically disables both spend-based and credit-based threshold recharge configurations for contracts using the archived billing provider
- You can archive multiple configurations for a single customer in a single request, but any validation failures for an individual configuration will prevent the entire operation from succeeding
POST
Archive billing provider configurations for a customer
Documentation Index
Fetch the complete documentation index at: https://docs.staging.metronome.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
The ids of the billing provider configurations to archive
Response
Success