Skip to main content
POST
Change plan (with proration)

Authorizations

Authorization
string
header
required

Paste your secret key as the bearer token: sk_test_… (test) or sk_live_… (live). That is all a normal API call needs. OAuth access tokens from POST /v1/oauth/token also work, but a client id/secret is only for platforms acting on another tenant's behalf, not for your own integration.

Path Parameters

id
string
required

Body

application/json
planId
string
required

Response

200 - application/json

OK with proration

subscription
object
proration
object