Credits
Credits are the units your plans include and your customers spend. A plan's prepaid-credits charges grant credits on each benefit's allocation cadence and spend them per signal as it arrives; you can also grant credits by hand, in the default credits currency or in other credit currencies you create. Every grant, spend and expiry is written to a ledger as it happens. Read the ledger, summaries of it, each customer's current balances, and the usage waiting on credits that are granted when an invoice is posted or paid.
Credits Operations
- post/credits/currencies
- get/credits/currencies
- put/credits/currencies/{id}
- get/credits/transactions/summary
- get/credits/transactions
- get/customers/{id}/credits/balances
- post/customers/{id}/credits/grants
- get/customers/{id}/credits/pending-consumption
- get/customers/external/{externalId}/credits/balances
- post/customers/external/{externalId}/credits/grants
- get/customers/external/{externalId}/credits/pending-consumption