Complete Oauth Connection
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
account_id
Headers
Idempotency-Key
A unique key for this request. A retry with the same key returns the first response instead of running again, for 24 hours. Keys are per caller.
Request
This endpoint expects an object.
code
state
draft
Required for a new connection; omitted for reconnect.
Response
Successful Response
processor
connection
Redacted view of an OAuth connection’s credential bag.
Produced by redact_credentials_view — it never contains secret_key,
refresh_token, or the OAuth code marker.
stripe_user_id
Connected Stripe account id, for the ‘Stripe connected: acct_…’ message.
Errors
422
Unprocessable Entity Error