Reset Billing Portal Settings

View as Markdown
Reset billing portal settings to defaults.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

account_idstringRequired

Response

Successful Response
allow_update_subboolean or nullOptionalDefaults to true
Allow customers to update existing subscriptions in the portal
allow_cancel_subboolean or nullOptionalDefaults to true
Allow customers to cancel subscriptions in the portal
upgrade_immediateboolean or nullOptionalDefaults to true
Apply subscription upgrades immediately
cancel_immediateboolean or nullOptionalDefaults to true
Apply subscription cancellations immediately
downgrade_immediateboolean or nullOptionalDefaults to true
Apply subscription downgrades immediately
hide_price_idslist of strings or nullOptional
List of price IDs to hide from the billing portal
support_emailstring or nullOptional
Support email shown on the expired portal page

Errors

422
Unprocessable Entity Error