Use billing creditsPublic preview
Implement a prepaid billing solution with billing credits.
This guide explains how to set up usage-based billing by using the Meters API and billing credits.
Note
Billing credits only apply to subscription invoice line items that link to a billing meter price and not to the legacy usage records API. Learn more about credit application eligibility.
Before you begin
- Create a billing meter.
- Create a pricing model and add the meter to it.
- Subscribe a customer to the usage-based price.
Apply billing credits to invoices
After the invoice finalises, Stripe automatically applies all applicable billing credits. At this time, the credit grant’s available balance reflects the new credit balance transaction which represents the billing credits applied to the invoice.
To find the amount of billing credits applied on an invoice:
- Go to the customer page and select the relevant customer.
- Select the invoice from the Invoices section.
- Find the line Credit grant applied under Subtotal.