class

Stripe::AccountSessionsApi

Inherits Reference < Object

Constructors

new(api_client : Stripe::ApiClient = ApiClient.default)
Source

Instance methods

api_client
Source
api_client=(api_client : ApiClient)
Source
build_api_request_for_post_account_sessions(*, account : String | Nil = nil, components : Stripe::AccountSessionCreateComponentsParam | Nil = nil, expand : Array(String) | Nil = nil) : Crest::Request

@return Crest::Request

Source
client_side_validation?(*args, **options)
Source
client_side_validation?(*args, **options, &)
Source
debugging?(*args, **options)
Source
debugging?(*args, **options, &)
Source
post_account_sessions(*, account : String | Nil = nil, components : Stripe::AccountSessionCreateComponentsParam | Nil = nil, expand : Array(String) | Nil = nil) : Stripe::AccountSession

Creates a AccountSession object that includes a single-use token that the platform can use on their front-end to grant client-side API access.

@required @param account [String?] The identifier of the account to create an Account Session for. @required @param components [Stripe::AccountSessionCreateComponentsParam?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @return [Stripe::AccountSession]
Source
post_account_sessions(*, account : String | Nil = nil, components : Stripe::AccountSessionCreateComponentsParam | Nil = nil, expand : Array(String) | Nil = nil, &block : Crest::Response -> ) : Nil

<p>Creates a AccountSession object that includes a single-use token that the platform can use on their front-end to grant client-side API access.</p> @required @param account [String?] The identifier of the account to create an Account Session for. @required @param components [Stripe::AccountSessionCreateComponentsParam?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @return nil

Source
post_account_sessions_with_http_info(*, account : String | Nil = nil, components : Stripe::AccountSessionCreateComponentsParam | Nil = nil, expand : Array(String) | Nil = nil) : Tuple(Stripe::AccountSession, Int32, Hash(String, Array(String) | String))

<p>Creates a AccountSession object that includes a single-use token that the platform can use on their front-end to grant client-side API access.</p> @required @param account [String?] The identifier of the account to create an Account Session for. @required @param components [Stripe::AccountSessionCreateComponentsParam?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::AccountSession, Integer, Hash)] Stripe::AccountSession, response status code and response headers

Source