billing

Checkout

Open a hosted checkout for the caller's workspace on the chosen plan.

tier=enterprise pays the offer an admin staged on this workspace; any other tier on an Enterprise workspace is refused.

post/api/billing/checkout

Request

  • Base URL: https://api.heymetra.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.heymetra.com/api/billing/checkout
  • Auth: none declared

Headers

authorizationstring nullable
x-workspace-idstring nullable

Request body

tier'starter' | 'pro' | 'superior' | 'enterprise' required
interval'monthly' | 'annual'

Response

Successful Response

checkout_urlstring required
modestring required
session_idstring required

Changes