Skip to main content
PATCH
Update subscription

Authorizations

Authorization
string
header
required

Use a JWT bearer token or a Veryfront API key in the Authorization header.

Path Parameters

account_id
string<uuid>
required

Body

application/json
type
enum<string>
required

Subscription tier to upgrade to.

Available options:
free,
pro,
enterprise
cycle
enum<string>
required

Billing cycle

Available options:
monthly,
yearly
quantity
integer

Seat quantity for licensed subscriptions

Required range: x >= 1
server_quantity
integer | null

Recurring server add-on quantity

Required range: x >= 0
sandbox_quantity
integer | null

Recurring sandbox add-on quantity

Required range: x >= 0
success_url
string<uri>

URL to redirect to after successful payment

cancel_url
string<uri>

URL to redirect to if payment is canceled.

Response

What the update changed, or the checkout that completes it.

status
enum<string>
required

What the update did. checkout_created means payment is required at checkout_url.

Available options:
subscription_updated,
seats_updated,
add_ons_updated,
checkout_created
amount
string | null
required

Exact decimal amount due, without a currency suffix. Null when no amount is due or known.

Pattern: ^-?\d+(?:\.\d+)?$
currency
string | null
required

ISO 4217 currency of amount in upper case. Null without an amount.

checkout_url
string<uri> | null
required

Stripe checkout session URL when payment is required. Null when the change was applied in place.