Update credit portal settings
Enable or disable portal top-ups of a credit product for a customer. Enabling sets the price they pay: one of the product’s price configurations, or a price of the customer’s own. Enabling requires the customer’s credit balance for the product (create it first, even with a 0 balance); otherwise the request fails with reason credit_balance_required.
Authorizations
Body
Credit portal settings
A price of the customer's own, in the customer's currency, replacing any previous one. Same shape as a credit product price configuration. Mutually exclusive with price_configuration_id. It needs at least one price; unit_count is a whole number of at least 1; amount is never negative, a bundle pack is never free, and the price is not free altogether; volume tiers start at 0 and each starts where the previous one ends; bulk tiers are in increasing to order; only the last tier has to: null. Otherwise the request fails with reason invalid_custom_price.
- Volume
- Bulk
- Bundle
Response
Credit portal settings after the update

