Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postAccountBankAccounts
Synopsis
- postAccountBankAccounts :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> PostAccountBankAccountsRequestBody -> m (Either HttpException (Response PostAccountBankAccountsResponse))
- postAccountBankAccountsRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> PostAccountBankAccountsRequestBody -> m (Either HttpException (Response ByteString))
- postAccountBankAccountsM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostAccountBankAccountsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostAccountBankAccountsResponse))
- postAccountBankAccountsRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostAccountBankAccountsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostAccountBankAccountsRequestBody = PostAccountBankAccountsRequestBody {
- postAccountBankAccountsRequestBodyBankAccount :: Maybe PostAccountBankAccountsRequestBodyBankAccount'Variants
- postAccountBankAccountsRequestBodyDefaultForCurrency :: Maybe Bool
- postAccountBankAccountsRequestBodyExpand :: Maybe ([] String)
- postAccountBankAccountsRequestBodyExternalAccount :: Maybe String
- postAccountBankAccountsRequestBodyMetadata :: Maybe PostAccountBankAccountsRequestBodyMetadata'
- data PostAccountBankAccountsRequestBodyBankAccount'OneOf2 = PostAccountBankAccountsRequestBodyBankAccount'OneOf2 {
- postAccountBankAccountsRequestBodyBankAccount'OneOf2AccountHolderName :: Maybe String
- postAccountBankAccountsRequestBodyBankAccount'OneOf2AccountHolderType :: Maybe PostAccountBankAccountsRequestBodyBankAccount'OneOf2AccountHolderType'
- postAccountBankAccountsRequestBodyBankAccount'OneOf2AccountNumber :: String
- postAccountBankAccountsRequestBodyBankAccount'OneOf2Country :: String
- postAccountBankAccountsRequestBodyBankAccount'OneOf2Currency :: Maybe String
- postAccountBankAccountsRequestBodyBankAccount'OneOf2Object :: Maybe PostAccountBankAccountsRequestBodyBankAccount'OneOf2Object'
- postAccountBankAccountsRequestBodyBankAccount'OneOf2RoutingNumber :: Maybe String
- data PostAccountBankAccountsRequestBodyBankAccount'OneOf2AccountHolderType'
- = PostAccountBankAccountsRequestBodyBankAccount'OneOf2AccountHolderType'EnumOther Value
- | PostAccountBankAccountsRequestBodyBankAccount'OneOf2AccountHolderType'EnumTyped String
- | PostAccountBankAccountsRequestBodyBankAccount'OneOf2AccountHolderType'EnumStringCompany
- | PostAccountBankAccountsRequestBodyBankAccount'OneOf2AccountHolderType'EnumStringIndividual
- data PostAccountBankAccountsRequestBodyBankAccount'OneOf2Object'
- data PostAccountBankAccountsRequestBodyBankAccount'Variants
- data PostAccountBankAccountsRequestBodyMetadata' = PostAccountBankAccountsRequestBodyMetadata' {
- data PostAccountBankAccountsResponse
Documentation
postAccountBankAccounts Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> PostAccountBankAccountsRequestBody | The request body to send |
-> m (Either HttpException (Response PostAccountBankAccountsResponse)) | Monad containing the result of the operation |
POST /v1/account/bank_accounts
<p>Create an external account for a given account.</p>
postAccountBankAccountsRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> PostAccountBankAccountsRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/account/bank_accounts
The same as postAccountBankAccounts
but returns the raw ByteString
postAccountBankAccountsM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostAccountBankAccountsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostAccountBankAccountsResponse)) Source #
POST /v1/account/bank_accounts
Monadic version of postAccountBankAccounts
(use with runWithConfiguration
)
postAccountBankAccountsRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostAccountBankAccountsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/account/bank_accounts
Monadic version of postAccountBankAccountsRaw
(use with runWithConfiguration
)
data PostAccountBankAccountsRequestBody Source #
Defines the data type for the schema postAccountBankAccountsRequestBody
PostAccountBankAccountsRequestBody | |
|
data PostAccountBankAccountsRequestBodyBankAccount'OneOf2 Source #
Defines the data type for the schema postAccountBankAccountsRequestBodyBank_account'OneOf2
Instances
data PostAccountBankAccountsRequestBodyBankAccount'OneOf2AccountHolderType' Source #
Defines the enum schema postAccountBankAccountsRequestBodyBank_account'OneOf2Account_holder_type'
Instances
data PostAccountBankAccountsRequestBodyBankAccount'OneOf2Object' Source #
Defines the enum schema postAccountBankAccountsRequestBodyBank_account'OneOf2Object'
Instances
data PostAccountBankAccountsRequestBodyBankAccount'Variants Source #
Define the one-of schema postAccountBankAccountsRequestBodyBank_account'
Either a token, like the ones returned by Stripe.js, or a dictionary containing a user's bank account details.
Instances
data PostAccountBankAccountsRequestBodyMetadata' Source #
Defines the data type for the schema postAccountBankAccountsRequestBodyMetadata'
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
Instances
data PostAccountBankAccountsResponse Source #
Represents a response of the operation postAccountBankAccounts
.
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), PostAccountBankAccountsResponseError
is used.
PostAccountBankAccountsResponseError String | Means either no matching case available or a parse error |
PostAccountBankAccountsResponse200 ExternalAccount | Successful response. |
PostAccountBankAccountsResponseDefault Error | Error response. |