Generates a Stripe Connect OAuth URL for a platform organization. Use this to allow your tenants to connect their Stripe accounts through the OAuth flow.
OAuth Flow
After generating the OAuth URL:- Redirect your tenant to the
oauth_url
- User authorizes their Stripe account
- Stripe redirects to Autumn’s callback URL
- Autumn processes the authorization and redirects to your
redirect_url
- Your
redirect_url
will receive query parameters:success=true
orsuccess=false
message=...
(if error occurred)
OAuth state is stored in Upstash with a 10-minute expiry. The organization must have been created via the platform API before generating an OAuth URL.
Authorizations
Autumn API key with Bearer prefix
Body
application/json
Response
OAuth URL generated successfully
Stripe Connect OAuth URL to redirect the user to.