stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PutAccountsAccountLogout

Description

Contains the different functions to run the operation putAccountsAccountLogout

Synopsis

Documentation

putAccountsAccountLogout Source #

Arguments

:: (MonadHTTP m, SecurityScheme s) 
=> Configuration s

The configuration to use in the request

-> String

account | Constraints: Maximum length of 5000

-> PutAccountsAccountLogoutRequestBody

The request body to send

-> m (Either HttpException (Response PutAccountsAccountLogoutResponse))

Monad containing the result of the operation

PUT /v1/accounts/{account}/logout

<p>Invalidates all sessions for a light account, for a platform to use during platform logout.</p>

<p><strong>You may only log out <a href="/docs/connect/express-accounts">Express accounts</a> connected to your platform</strong>.</p>

data PutAccountsAccountLogoutRequestBody Source #

Defines the data type for the schema putAccountsAccountLogoutRequestBody

Constructors

PutAccountsAccountLogoutRequestBody 

Fields

data PutAccountsAccountLogoutResponse Source #

Represents a response of the operation putAccountsAccountLogout.

The response constructor is chosen by the status code of the response. If no case matches (no specific case for the response code, no range case, no default case), PutAccountsAccountLogoutResponseError is used.

Constructors

PutAccountsAccountLogoutResponseError String

Means either no matching case available or a parse error

PutAccountsAccountLogoutResponse200 LightAccountLogout

Successful response.

PutAccountsAccountLogoutResponseDefault Error

Error response.