Ledger

Stripe Connect OAuth redirect target

Stripe redirects the browser here after consent. Authorization comes from the signed state parameter rather than an Authorization header, so this route is deliberately public — do not call it yourself. It always answers with a 302 back to the dashboard, carrying connected=1 on success or connect_error=<code> on failure or cancellation.

get/credits/connect/stripe/callback

Request

  • Base URL
    https://api.paywithlocus.com/api
  • URL
    https://api.paywithlocus.com/api/credits/connect/stripe/callback
  • Auth
    none required

Query parameters

codestring

Stripe authorization code.

statestring

Signed state minted by the authorize step.

errorstring

Present when the workspace administrator cancelled consent.

Changes

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