billing

Collect a card in Stripe-hosted Checkout

Creates a Stripe Checkout session in setup mode (card only, no charge) and returns its URL. The console redirects there; success/cancel return to allowlisted console paths.

post/v1/billing/setup-session

Request

  • Base URL: https://api.hyperresearch.ai
  • URL: https://api.hyperresearch.ai/v1/billing/setup-session
  • Auth: one of:
    • HTTP bearer
    • API key in cookie hr_session

Request body

return_pathstring
cancel_pathstring

Response

Checkout URL

urlstring required

Changes

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