GuideLab API

Handle Stripe Connect O Auth Callback

Consume a lab-owner-bound OAuth state, exchange Stripe's one-time code, retain the connection generation, reconcile account requirements, and redirect safely to the app.

GET
/stripe-connect/oauth/callback

Consume a lab-owner-bound OAuth state, exchange Stripe's one-time code, retain the connection generation, reconcile account requirements, and redirect safely to the app.

Authorization

__Secure-guidelab-prod.session_token<token>

Production session cookie set for the guidelab.co domain by Better Auth

In: cookie

Query Parameters

code?string
Length1 <= length
state?string
Length1 <= length
error?string
Lengthlength <= 100
error_description?string
Lengthlength <= 500

Response Body

curl -X GET "https://example.com/stripe-connect/oauth/callback"
Empty
Empty