# Metronome - [Contracts (219 pages)](https://docs.metronome.com/_llms/en/contracts.txt): Documentation for Contracts. ## Plans (Legacy) ### Plans-Specific Endpoints #### Plans - [List plans](https://docs.metronome.com/api-reference/plans/list-plans.md): List all available plans. This is a Plans (deprecated) endpoint. New clients should implement using Contracts. - [Get plan details](https://docs.metronome.com/api-reference/plans/get-plan-details.md): Fetch high level details of a specific plan. This is a Plans (deprecated) endpoint. New clients should implement using Contracts. - [List customers on a plan](https://docs.metronome.com/api-reference/plans/list-customers-on-a-plan.md): Fetches a list of customers on a specific plan (by default, only currently active plans are included). This is a Plans (deprecated) endpoint. New clients should implement using Contracts. - [List plan charges](https://docs.metronome.com/api-reference/plans/list-plan-charges.md): Fetches a list of charges of a specific plan. This is a Plans (deprecated) endpoint. New clients should implement using Contracts. #### Credits - [Create a credit grant](https://docs.metronome.com/api-reference/credit-grants/create-a-credit-grant.md): Create a new credit grant. This is a Plans (deprecated) endpoint. New clients should implement using Contracts. - [List credit grants](https://docs.metronome.com/api-reference/credit-grants/list-credit-grants.md): List credit grants. This list does not included voided grants. This is a Plans (deprecated) endpoint. New clients should implement using Contracts. - [List credit ledger entries](https://docs.metronome.com/api-reference/credit-grants/list-credit-ledger-entries.md): Fetches a list of credit ledger entries. Returns lists of ledgers per customer. Ledger entries are returned in chronological order. Ledger entries associated with voided credit grants are not included. This is a Plans (deprecated) endpoint. New clients should implement using Contracts. - [Update a credit grant](https://docs.metronome.com/api-reference/credit-grants/update-a-credit-grant.md): Edit an existing credit grant. This is a Plans (deprecated) endpoint. New clients should implement using Contracts. - [Void a credit grant](https://docs.metronome.com/api-reference/credit-grants/void-a-credit-grant.md): Void a credit grant. This is a Plans (deprecated) endpoint. New clients should implement using Contracts. #### Customers - [List customer plans](https://docs.metronome.com/api-reference/plans/list-customer-plans.md): List the given customer's plans in reverse-chronological order. This is a Plans (deprecated) endpoint. New clients should implement using Contracts. - [Get the plan adjustments for a customer](https://docs.metronome.com/api-reference/plans/get-the-plan-adjustments-for-a-customer.md): Lists a customer plans adjustments. See the [price adjustments documentation](https://plans-docs.metronome.com/pricing/managing-plans/#price-adjustments) for details. This is a Plans (deprecated) endpoint. New clients should implement using Contracts. - [Get customer costs](https://docs.metronome.com/api-reference/invoices/get-customer-costs.md): Fetch daily pending costs for the specified customer, broken down by credit type and line items. Note: this is not supported for customers whose plan includes a UNIQUE-type billable metric. This is a Plans (deprecated) endpoint. New clients should implement using Contracts. - [Add a plan to a customer](https://docs.metronome.com/api-reference/plans/add-a-plan-to-a-customer.md): Associate an existing customer with a plan for a specified date range. See the [price adjustments documentation](https://plans-docs.metronome.com/pricing/managing-plans/#price-adjustments) for details on the price adjustments. This is a Plans (deprecated) endpoint. New clients should implement usin… - [End a customer plan](https://docs.metronome.com/api-reference/plans/end-a-customer-plan.md): Change the end date of a customer's plan. This is a Plans (deprecated) endpoint. New clients should implement using Contracts. - [Add a one time charge](https://docs.metronome.com/api-reference/invoices/add-a-one-time-charge.md): Add a one time charge to the specified invoice. This is a Plans (deprecated) endpoint. New clients should implement using Contracts. ### Plans-Contracts Shared Endpoints - [Notifications](https://docs.metronome.com/plans-shared-endpoints/notifications.md) #### Plans–Contracts Shared Endpoints - [Invoices](https://docs.metronome.com/plans-shared-endpoints/invoices.md) ## OpenAPI Specs - [openapi](/openapi.json) - [openapi.plans](/openapi.plans.json) > The links below point to documentation indexes. Follow each `/_llms/` index recursively until you reach documentation pages. ## Indexes - [English / Contracts (219 pages)](https://docs.metronome.com/_llms/en/contracts.txt): Documentation for English / Contracts. - [English / Contracts / API Reference (117 pages)](https://docs.metronome.com/_llms/en/contracts/api-reference.txt): Documentation for English / Contracts / API Reference. - [French (106 pages)](https://docs.metronome.com/_llms/fr.txt): Documentation for French. - [French / Contrats (106 pages)](https://docs.metronome.com/_llms/fr/contrats.txt): Documentation for French / Contrats. - [French / Contrats / Référence API (106 pages)](https://docs.metronome.com/_llms/fr/contrats/reference-api.txt): Documentation for French / Contrats / Référence API.