Update Settings

View as Markdown

Request

This endpoint expects a multipart form.
grace_period_daysstringRequired

Optional: Grace period before suspension - integer 1-90 - 7

enable_automatic_taxstringRequired

Optional: Enable Stripe automatic tax - boolean - false

past_due_period_daysstringRequired

Optional: Past due period before cancellation - integer 1-90 - 14

suspension_notice_daysstringRequired

Optional: Days notice before suspension - integer 1-30 - 3

notification_channels[push]stringRequired

Optional: Enable push notifications - boolean - false

trial_ending_notice_days[0]stringRequired

Optional: Days before trial end to notify - array of integers - 3

trial_ending_notice_days[1]stringRequired

Optional: Additional notice day - integer - 1

card_expiring_notice_days[0]stringRequired

Optional: Days before card expiry to notify - array of integers - 30

card_expiring_notice_days[1]stringRequired

Optional: Additional notice day - integer - 7

notification_channels[email]stringRequired

Optional: Enable email notifications - boolean - true

notification_channels[in_app]stringRequired

Optional: Enable in-app notifications - boolean - true

dunning_notification_frequency_daysstringRequired

Optional: Frequency of dunning notifications - integer 1-30 - 3

Response

Successful response