Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getCustomersCustomerBankAccountsId
Synopsis
- getCustomersCustomerBankAccountsId :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> String -> GetCustomersCustomerBankAccountsIdRequestBody -> m (Either HttpException (Response GetCustomersCustomerBankAccountsIdResponse))
- getCustomersCustomerBankAccountsIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> String -> GetCustomersCustomerBankAccountsIdRequestBody -> m (Either HttpException (Response ByteString))
- getCustomersCustomerBankAccountsIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> String -> GetCustomersCustomerBankAccountsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetCustomersCustomerBankAccountsIdResponse))
- getCustomersCustomerBankAccountsIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> String -> GetCustomersCustomerBankAccountsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetCustomersCustomerBankAccountsIdRequestBody = GetCustomersCustomerBankAccountsIdRequestBody {
- data GetCustomersCustomerBankAccountsIdResponse
Documentation
getCustomersCustomerBankAccountsId Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | customer | Constraints: Maximum length of 5000 |
-> Maybe String | expand: Specifies which fields in the response should be expanded. |
-> String | id | Constraints: Maximum length of 5000 |
-> GetCustomersCustomerBankAccountsIdRequestBody | The request body to send |
-> m (Either HttpException (Response GetCustomersCustomerBankAccountsIdResponse)) | Monad containing the result of the operation |
GET /v1/customers/{customer}/bank_accounts/{id}
<p>By default, you can see the 10 most recent sources stored on a Customer directly on the object, but you can also retrieve details about a specific bank account stored on the Stripe account.</p>
getCustomersCustomerBankAccountsIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> String -> GetCustomersCustomerBankAccountsIdRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/customers/{customer}/bank_accounts/{id}
The same as getCustomersCustomerBankAccountsId
but returns the raw ByteString
getCustomersCustomerBankAccountsIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> String -> GetCustomersCustomerBankAccountsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetCustomersCustomerBankAccountsIdResponse)) Source #
GET /v1/customers/{customer}/bank_accounts/{id}
Monadic version of getCustomersCustomerBankAccountsId
(use with runWithConfiguration
)
getCustomersCustomerBankAccountsIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> String -> GetCustomersCustomerBankAccountsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/customers/{customer}/bank_accounts/{id}
Monadic version of getCustomersCustomerBankAccountsIdRaw
(use with runWithConfiguration
)
data GetCustomersCustomerBankAccountsIdRequestBody Source #
Defines the data type for the schema getCustomersCustomerBankAccountsIdRequestBody
Instances
data GetCustomersCustomerBankAccountsIdResponse Source #
Represents a response of the operation getCustomersCustomerBankAccountsId
.
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), GetCustomersCustomerBankAccountsIdResponseError
is used.
GetCustomersCustomerBankAccountsIdResponseError String | Means either no matching case available or a parse error |
GetCustomersCustomerBankAccountsIdResponse200 BankAccount | Successful response. |
GetCustomersCustomerBankAccountsIdResponseDefault Error | Error response. |