class Stripe::AccountSessionsApi
- Stripe::AccountSessionsApi
- Reference
- Object
Defined in:
stripe/api/account_sessions_api.crConstructors
Instance Method Summary
- #api_client : ApiClient
- #api_client=(api_client : ApiClient)
-
#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
- #client_side_validation?(*args, **options)
- #client_side_validation?(*args, **options, &)
- #debugging?(*args, **options)
- #debugging?(*args, **options, &)
-
#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. -
#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.
-
#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.
Constructor Detail
Instance Method Detail
@return Crest::Request
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]<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
<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