Account

Start or upgrade a subscription

Creates a Stripe checkout session for new subscriptions or returns a billing portal URL for existing subscribers to upgrade.

post/upgrade

Request

  • Base URL: https://exercise-api.ymove.app/api/v2
  • URL: https://exercise-api.ymove.app/api/v2/upgrade
  • Auth: one of:
    • API key in header X-API-Key
    • API key in query parameter api_key

Request body

plan'basic' | 'pro' | 'scale' | 'enterprise' required

The plan to subscribe to

emailstring email

Required for demo keys. Paid keys use the email on file.

Response

Checkout or billing portal URL

urlstring uri required

Stripe checkout or billing portal URL. Open in a browser to complete.

messagestring required

Changes

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