billing

Checkout Status

What became of a checkout this workspace opened.

A failed first payment never reaches the workspace (no subscription is stored, so no event moves it), so the session is the only place it can be read. A session another workspace opened, or one older than a day, is not found.

get/api/billing/checkout/{session_id}

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/{session_id}
  • Auth: none declared

Path parameters

session_idstring required

Headers

authorizationstring nullable
x-workspace-idstring nullable

Response

Successful Response

session_idstring required
payment_statusstring nullable required
access_activeboolean required
subscription_statusstring required
planstring required
trial_ends_atstring date-time nullable required
current_period_endstring date-time nullable required

Changes

No recorded changes to this operation across all 5 revisions of this API.