auth

Create checkout session for plan upgrade

post/v1/auth/subscription/upgrade

Request

  • Base URL: https://api.dispatchtickets.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.dispatchtickets.com/v1/auth/subscription/upgrade
  • Auth: session-token (a scheme the document does not define)

Request body

planIdstring required

Plan ID to upgrade to

successUrlstring required

URL to redirect to after successful upgrade

cancelUrlstring

URL to redirect to if upgrade is cancelled

couponCodestring

Coupon code for discount

Example request

{
  "planId": "plan_pro_monthly"
}

Response

Checkout URL returned

Changes

No recorded changes to this operation across all 1 revision of this API.