stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostAccountBankAccounts

Description

Contains the different functions to run the operation postAccountBankAccounts

Synopsis

Documentation

postAccountBankAccounts Source #

Arguments

:: (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>

data PostAccountBankAccountsRequestBody Source #

Defines the data type for the schema postAccountBankAccountsRequestBody

Constructors

PostAccountBankAccountsRequestBody 

Fields

data PostAccountBankAccountsRequestBodyBankAccount'OneOf2 Source #

Defines the data type for the schema postAccountBankAccountsRequestBodyBank_account'OneOf2

Instances
Eq PostAccountBankAccountsRequestBodyBankAccount'OneOf2 Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountBankAccounts

Show PostAccountBankAccountsRequestBodyBankAccount'OneOf2 Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountBankAccounts

ToJSON PostAccountBankAccountsRequestBodyBankAccount'OneOf2 Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountBankAccounts

FromJSON PostAccountBankAccountsRequestBodyBankAccount'OneOf2 Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountBankAccounts

data PostAccountBankAccountsRequestBodyBankAccount'OneOf2AccountHolderType' Source #

Defines the enum schema postAccountBankAccountsRequestBodyBank_account'OneOf2Account_holder_type'

Instances
Eq PostAccountBankAccountsRequestBodyBankAccount'OneOf2AccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountBankAccounts

Show PostAccountBankAccountsRequestBodyBankAccount'OneOf2AccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountBankAccounts

ToJSON PostAccountBankAccountsRequestBodyBankAccount'OneOf2AccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountBankAccounts

FromJSON PostAccountBankAccountsRequestBodyBankAccount'OneOf2AccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountBankAccounts

data PostAccountBankAccountsRequestBodyBankAccount'OneOf2Object' Source #

Defines the enum schema postAccountBankAccountsRequestBodyBank_account'OneOf2Object'

Instances
Eq PostAccountBankAccountsRequestBodyBankAccount'OneOf2Object' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountBankAccounts

Show PostAccountBankAccountsRequestBodyBankAccount'OneOf2Object' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountBankAccounts

ToJSON PostAccountBankAccountsRequestBodyBankAccount'OneOf2Object' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountBankAccounts

FromJSON PostAccountBankAccountsRequestBodyBankAccount'OneOf2Object' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountBankAccounts

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
Eq PostAccountBankAccountsRequestBodyBankAccount'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountBankAccounts

Show PostAccountBankAccountsRequestBodyBankAccount'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountBankAccounts

Generic PostAccountBankAccountsRequestBodyBankAccount'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountBankAccounts

ToJSON PostAccountBankAccountsRequestBodyBankAccount'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountBankAccounts

FromJSON PostAccountBankAccountsRequestBodyBankAccount'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountBankAccounts

type Rep PostAccountBankAccountsRequestBodyBankAccount'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountBankAccounts

type Rep PostAccountBankAccountsRequestBodyBankAccount'Variants = D1 (MetaData "PostAccountBankAccountsRequestBodyBankAccount'Variants" "StripeAPI.Operations.PostAccountBankAccounts" "stripeapi-0.1.0.0-A3hJyYFbMZN6w4qjBpK6b6" False) (C1 (MetaCons "PostAccountBankAccountsRequestBodyBankAccount'String" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) :+: C1 (MetaCons "PostAccountBankAccountsRequestBodyBankAccount'PostAccountBankAccountsRequestBodyBankAccount'OneOf2" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 PostAccountBankAccountsRequestBodyBankAccount'OneOf2)))

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`.

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.

Constructors

PostAccountBankAccountsResponseError String

Means either no matching case available or a parse error

PostAccountBankAccountsResponse200 ExternalAccount

Successful response.

PostAccountBankAccountsResponseDefault Error

Error response.