stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetAccountsAccount

Description

Contains the different functions to run the operation getAccountsAccount

Synopsis

Documentation

getAccountsAccount Source #

Arguments

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

The configuration to use in the request

-> String

account | Constraints: Maximum length of 5000

-> Maybe String

expand: Specifies which fields in the response should be expanded.

-> GetAccountsAccountRequestBody

The request body to send

-> m (Either HttpException (Response GetAccountsAccountResponse))

Monad containing the result of the operation

GET /v1/accounts/{account}

<p>Retrieves the details of an account.</p>

getAccountsAccountRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> GetAccountsAccountRequestBody -> m (Either HttpException (Response ByteString)) Source #

GET /v1/accounts/{account}

The same as getAccountsAccount but returns the raw ByteString

data GetAccountsAccountResponse Source #

Represents a response of the operation getAccountsAccount.

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

Constructors

GetAccountsAccountResponseError String

Means either no matching case available or a parse error

GetAccountsAccountResponse200 Account

Successful response.

GetAccountsAccountResponseDefault Error

Error response.