User API

Get Stripe Topup Session

Changed on

Create a Checkout session (mode=payment) for the "add funds" popup.

Adding a card always comes with the initial prepaid charge — there's no separate no-charge "just save a card" flow.

post/me/stripe/topup-session

Request

  • Base URL
    https://api.toolhouse.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.toolhouse.ai/me/stripe/topup-session
  • Auth
    HTTP bearer

Request body

return_urlstring required
currency'usd' | 'eur'
amount_dollarsinteger nullable

Response

Successfully created Stripe top-up session

topup_session_urlstring required

Changes