Bridge
Initiate a widget session
Use this endpoint to generate a session token for the Bridge widget.
POST
https://{environment}.straddle.io
/
v1
/
bridge
/
initialize
Authorizations
Authorization
string
headerrequiredUse your Straddle API Key in the Authorization header as Bearer <token> to authorize API requests.
Headers
Straddle-Account-Id
string
For use by platforms to specify an account id and set scope of a request.
Request-Id
string
Optional client generated identifier to trace and debug a request.
Correlation-Id
string
Optional client generated identifier to trace and debug a series of requests.
Body
customer_id
string
requiredCustomer Id to create token for.
Response
201 - text/plain
meta
object
requiredresponse_type
enum<string>
requiredAvailable options:
object
, array
, error
, none
data
object
required