Create a Session
POST {{baseUrl}}/v1/financial_connections/sessions
To launch the Financial Connections authorization flow, create a Session
. The session’s client_secret
can be used to launch the flow using Stripe.js.
Request Body
[{"name"=>"account_holder[type]", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"account_holder[account]", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"account_holder[customer]", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"permissions[0]", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"permissions[1]", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"expand[0]", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"expand[1]", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"filters[countries][0]", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"filters[countries][1]", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"prefetch[0]", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"prefetch[1]", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"return_url", "value"=>"<string>", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |