Change my billing interval
POST
Change the billing interval on a subscription. By default takes effect at next renewal.
portalTokenheader
AuthorizationBearer <token>Portal session token. Obtain via POST /v1/portal/sessions.
id*stringx-api-key*stringAPI key for authentication
Length
1 <= length- body
new_interval*stringValue in
"Monthly""Yearly"effective_now?booleanApply immediately or at next renewal
Default
falseResponse for status 200
application/json- response
id*stringstatus*stringnew_interval*stringeffective_now*booleancurl -X POST 'https://api.tryaccess.xyz/api/v1/customers/portal/me/subscriptions/string/change-interval' \ -H 'x-api-key: string' \ -H 'Content-Type: application/json' \ -d '{ "new_interval": "Monthly"}'{ "id": "string", "status": "string", "new_interval": "string", "effective_now": true}How is this guide?