/tier/subscription_update/

Updates the current customer subscription items (tiers and number of
seats) and charges the prorations with the customer default payment
method. Answers 402 when the payment fails: the subscription is then left
unchanged and the payment method can be updated through a portal session
with flow_type=payment_method_update. When the payment requires an
authentication (3D Secure), answers 402 with
code=payment_requires_authentication and a client_secret to confirm the
payment with stripe.js (confirmCardPayment): the update is applied once
confirmed, and discarded if not confirmed within 23 hours.

Seat decreases only apply at the end of the current period, the licences
beyond the new number of seats being then automatically unassigned (the
last assigned first): seat_decrease describes it, as in the preview.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Handles request data to preview or apply a change of the current customer
subscription items. The items are the wanted final state of the
subscription: a tier missing from them is removed from the subscription.

items
array of objects
required
items*
integer

Unix timestamp returned by the preview. Pass it back when applying the update so that the charged prorations match the previewed ones.

Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Response

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json