create Onboarding Session
Deprecated
Server-only — call this from your backend with your secret key (sk_), not from the app. Provided only so the example app can mint a token for testing.
Creates an onboarding session and returns its onb_sess_… client secret.
Return
A Pair containing the decoded OnboardingSessionResponses.OnboardingSession on success, or a NetworkingError on failure.
Parameters
The request body specifying the account and onboarding steps.
Deprecated
Server-only — call this from your backend with your secret key (sk_), not from the app. Provided only so the example app can mint a token for testing.
Callback variant of createOnboardingSession.
Parameters
The request body specifying the account and onboarding steps.
Invoked with the decoded OnboardingSessionResponses.OnboardingSession on success, or a NetworkingError on failure.