Create credit pool
Creates a new credit pool for a customer.
Authorizations
API Key Authentication.
Body
A credit pool object with initial configuration and top-up settings.
The unique identifier of the customer the credit pool belongs to.
Code of the currency unit the pool's credits are denominated in. Must be a non-default currency unit registered on the tenant.
"USD"
Date the credit pool starts, when the initial credits are loaded.
Amount of credits granted to the pool on each renewal, as a decimal string in the pool's currency unit.
^\d+(\.\d{1,6})?$The top-up settings of the credit pool: the credit package purchased when the pool's balance needs replenishing.
Response
The request was successfully processed, and the credit pool has been created.
The unique identifier of the credit pool in our system.
The unique identifier of the customer the credit pool belongs to.
The unique identifier of the currency unit the pool's credits are denominated in.
Date the credit pool starts, when the initial credits are loaded.
Amount of credits granted to the pool on each renewal, as a decimal string in the pool's currency unit.
^\d+(\.\d{1,6})?$Current credit balance available for consumption, as a decimal string in the pool's currency unit.
^\d+(\.\d{1,6})?$Date of the next scheduled renewal, when renewalCreditAmount is granted to the pool.
Schema representing the top-up settings of a credit pool: the credit package purchased when the pool's balance needs replenishing. Purchases appear on invoices as credit purchase line items.
Schema representing a currency unit: the unit credits and credit-consuming usage are denominated in. BRL is the default; tenants can define custom credit units.