stripe-oauth

Oauth Callback

Stripe redirects here after user authorizes. Exchange the authorization code for the connected account ID.

For Standard accounts, Stripe returns:

  • stripe_user_id: The connected account ID (acct_xxx)
  • scope: The granted scope
  • livemode: Whether this is a live or test connection

Note: Standard accounts don't return access_token/refresh_token. You use your platform's secret key + Stripe-Account header to access their data.

get/public/api/connectors/stripe/callback

Request

  • Base URL: https://api.pandas-ai.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pandas-ai.com/public/api/connectors/stripe/callback
  • Auth: none declared

Query parameters

codestring

Authorization code from Stripe

statestring required

JWT state token

errorstring

Error code if authorization failed

error_descriptionstring

Error description

Response

Successful Response

unknown required

Changes

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