Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postAccountsAccountBankAccounts
Synopsis
- postAccountsAccountBankAccounts :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostAccountsAccountBankAccountsRequestBody -> m (Either HttpException (Response PostAccountsAccountBankAccountsResponse))
- postAccountsAccountBankAccountsRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostAccountsAccountBankAccountsRequestBody -> m (Either HttpException (Response ByteString))
- postAccountsAccountBankAccountsM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostAccountsAccountBankAccountsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostAccountsAccountBankAccountsResponse))
- postAccountsAccountBankAccountsRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostAccountsAccountBankAccountsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostAccountsAccountBankAccountsRequestBody = PostAccountsAccountBankAccountsRequestBody {
- postAccountsAccountBankAccountsRequestBodyBankAccount :: Maybe PostAccountsAccountBankAccountsRequestBodyBankAccount'Variants
- postAccountsAccountBankAccountsRequestBodyDefaultForCurrency :: Maybe Bool
- postAccountsAccountBankAccountsRequestBodyExpand :: Maybe ([] String)
- postAccountsAccountBankAccountsRequestBodyExternalAccount :: Maybe String
- postAccountsAccountBankAccountsRequestBodyMetadata :: Maybe PostAccountsAccountBankAccountsRequestBodyMetadata'
- data PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf2 = PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf2 {
- postAccountsAccountBankAccountsRequestBodyBankAccount'OneOf2AccountHolderName :: Maybe String
- postAccountsAccountBankAccountsRequestBodyBankAccount'OneOf2AccountHolderType :: Maybe PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf2AccountHolderType'
- postAccountsAccountBankAccountsRequestBodyBankAccount'OneOf2AccountNumber :: String
- postAccountsAccountBankAccountsRequestBodyBankAccount'OneOf2Country :: String
- postAccountsAccountBankAccountsRequestBodyBankAccount'OneOf2Currency :: Maybe String
- postAccountsAccountBankAccountsRequestBodyBankAccount'OneOf2Object :: Maybe PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf2Object'
- postAccountsAccountBankAccountsRequestBodyBankAccount'OneOf2RoutingNumber :: Maybe String
- data PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf2AccountHolderType'
- = PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf2AccountHolderType'EnumOther Value
- | PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf2AccountHolderType'EnumTyped String
- | PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf2AccountHolderType'EnumStringCompany
- | PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf2AccountHolderType'EnumStringIndividual
- data PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf2Object'
- data PostAccountsAccountBankAccountsRequestBodyBankAccount'Variants
- data PostAccountsAccountBankAccountsRequestBodyMetadata' = PostAccountsAccountBankAccountsRequestBodyMetadata' {
- data PostAccountsAccountBankAccountsResponse
Documentation
postAccountsAccountBankAccounts Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | account | Constraints: Maximum length of 5000 |
-> PostAccountsAccountBankAccountsRequestBody | The request body to send |
-> m (Either HttpException (Response PostAccountsAccountBankAccountsResponse)) | Monad containing the result of the operation |
POST /v1/accounts/{account}/bank_accounts
<p>Create an external account for a given account.</p>
postAccountsAccountBankAccountsRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostAccountsAccountBankAccountsRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/accounts/{account}/bank_accounts
The same as postAccountsAccountBankAccounts
but returns the raw ByteString
postAccountsAccountBankAccountsM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostAccountsAccountBankAccountsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostAccountsAccountBankAccountsResponse)) Source #
POST /v1/accounts/{account}/bank_accounts
Monadic version of postAccountsAccountBankAccounts
(use with runWithConfiguration
)
postAccountsAccountBankAccountsRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostAccountsAccountBankAccountsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/accounts/{account}/bank_accounts
Monadic version of postAccountsAccountBankAccountsRaw
(use with runWithConfiguration
)
data PostAccountsAccountBankAccountsRequestBody Source #
Defines the data type for the schema postAccountsAccountBankAccountsRequestBody
PostAccountsAccountBankAccountsRequestBody | |
|
Instances
data PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf2 Source #
Defines the data type for the schema postAccountsAccountBankAccountsRequestBodyBank_account'OneOf2
Instances
data PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf2AccountHolderType' Source #
Defines the enum schema postAccountsAccountBankAccountsRequestBodyBank_account'OneOf2Account_holder_type'
Instances
data PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf2Object' Source #
Defines the enum schema postAccountsAccountBankAccountsRequestBodyBank_account'OneOf2Object'
Instances
data PostAccountsAccountBankAccountsRequestBodyBankAccount'Variants Source #
Define the one-of schema postAccountsAccountBankAccountsRequestBodyBank_account'
Either a token, like the ones returned by Stripe.js, or a dictionary containing a user's bank account details.
Instances
data PostAccountsAccountBankAccountsRequestBodyMetadata' Source #
Defines the data type for the schema postAccountsAccountBankAccountsRequestBodyMetadata'
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 PostAccountsAccountBankAccountsResponse Source #
Represents a response of the operation postAccountsAccountBankAccounts
.
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), PostAccountsAccountBankAccountsResponseError
is used.
PostAccountsAccountBankAccountsResponseError String | Means either no matching case available or a parse error |
PostAccountsAccountBankAccountsResponse200 ExternalAccount | Successful response. |
PostAccountsAccountBankAccountsResponseDefault Error | Error response. |