Hatch

Your plan, and the plans there are

On this page

GET/api/billing

Authorization

  • session: Authorization: Bearer <token>. The session token from signing in (or the session cookie in a browser on the same origin).

Response

200: It worked

  • plan string (required): At most 300 characters
  • status string (required): At most 300 characters
  • renews number | null (required)
  • ends number | null (required)
  • manage boolean (required): There is something to manage in the billing portal
  • plans array<Plan> (required)

    • id string: At most 300 characters
    • title string: At most 300 characters
    • price number: Cents per month. 0 is free.
    • blurb string: At most 300 characters
    • features array<string>

Other answers:

  • 4XX: Refused, with a message to show the person