Hatch

Open the billing portal

On this page

POST/api/billing/portal

Authorization

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

Request body

  • returnTo string: At most 2000 characters

Response

200: It worked

  • url string (required): At most 2000 characters

Other answers:

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