Sha256: e5cbd2f5f761e826c2e605af2f207308c17fcd9cecb626fd9a7ac380b162e4b5
Contents?: true
Size: 929 Bytes
Versions: 13
Compression:
Stored size: 929 Bytes
Contents
# File generated from our OpenAPI spec # frozen_string_literal: true module Stripe module FinancialConnections class SessionService < StripeService # 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. def create(params = {}, opts = {}) request( method: :post, path: "/v1/financial_connections/sessions", params: params, opts: opts, base_address: :api ) end # Retrieves the details of a Financial Connections Session def retrieve(session, params = {}, opts = {}) request( method: :get, path: format("/v1/financial_connections/sessions/%<session>s", { session: CGI.escape(session) }), params: params, opts: opts, base_address: :api ) end end end end
Version data entries
13 entries across 13 versions & 1 rubygems