Fund a customer’s meter balance before usage becomes an overage
Credits are prepaid units attached to a Usage Meter. When an event reaches that meter, Ruba consumes the customer’s available units before applying the product’s metered price to any remaining usage.
Customer State returns the customer’s active meter balances with the rest of their access state. Use the Customer Meters API when you only need meter balances.
A zero balance does not make Ruba block your application’s feature. Your application must reject or limit usage when that is the intended product rule.