Ledger

Begin Stripe Connect onboarding

Returns the Stripe consent URL to send a workspace owner or admin to. Dashboard-only: a tenant secret key cannot start this flow, and evaluation workspaces are refused until a commercial agreement is active. Requires an owner or admin with MFA step-up completed in the last ten minutes.

get/credits/connect/stripe/authorize

Request

  • Base URL
    https://api.paywithlocus.com/api
  • URL
    https://api.paywithlocus.com/api/credits/connect/stripe/authorize
  • Auth
    HTTP bearer

Query parameters

returnTostring

Absolute dashboard URL to return to after consent. Defaults to the billing page.

Headers

X-Locus-Step-Upstring password

Short-lived raw MFA/passkey step-up token bound to the authenticated Cognito subject. Send it alongside the dashboard Bearer token for workspace-administrator mutations when the base session does not itself prove MFA within the last ten minutes. Never send it with a tenant secret key.

Response

Consent URL

successunknown required
urlstring uri required

Changes

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