stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PutAccountLogout

Description

Contains the different functions to run the operation putAccountLogout

Synopsis

Documentation

putAccountLogout Source #

Arguments

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

The configuration to use in the request

-> PutAccountLogoutRequestBody

The request body to send

-> m (Either HttpException (Response PutAccountLogoutResponse))

Monad containing the result of the operation

PUT /v1/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>

putAccountLogoutRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> PutAccountLogoutRequestBody -> m (Either HttpException (Response ByteString)) Source #

PUT /v1/account/logout

The same as putAccountLogout but returns the raw ByteString

data PutAccountLogoutResponse Source #

Represents a response of the operation putAccountLogout.

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), PutAccountLogoutResponseError is used.

Constructors

PutAccountLogoutResponseError String

Means either no matching case available or a parse error

PutAccountLogoutResponse200 LightAccountLogout

Successful response.

PutAccountLogoutResponseDefault Error

Error response.