Credits are customer-specific value that can be used to pay for charges. They are useful for prepaid plans, promotional balances, migration credits, enterprise commitments, or any workflow where a customer consumes a balance before paying by invoice.
A credit balance is always tied to a customer and a currency. A customer’s fiat credits are held in the customer’s currency, for example USD. A customer can also hold balances in custom currencies, such as tokens, API calls, or compute units you define for your organization. Charges consume credits from the matching currency balance.
The purchase that funds a grant always settles in a fiat currency, even when the granted balance is in a custom currency.
Metering & Billing converts custom-currency charges on a fiat invoice through the currency’s cost basis.
Under credit_then_invoice, any credits the customer holds in the invoice’s fiat currency can then cover part of that converted amount.
For an end-to-end tutorial on setting up prepaid credits, see Get started with prepaid credits.