stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostCustomersCustomerBankAccounts

Description

Contains the different functions to run the operation postCustomersCustomerBankAccounts

Synopsis

Documentation

postCustomersCustomerBankAccounts Source #

Arguments

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

The configuration to use in the request

-> String

customer | Constraints: Maximum length of 5000

-> PostCustomersCustomerBankAccountsRequestBody

The request body to send

-> m (Either HttpException (Response PostCustomersCustomerBankAccountsResponse))

Monad containing the result of the operation

POST /v1/customers/{customer}/bank_accounts

<p>When you create a new credit card, you must specify a customer or recipient on which to create it.</p>

<p>If the card’s owner has no default card, then the new card will become the default. However, if the owner already has a default, then it will not change. To change the default, you should <a href="/docs/api#update_customer">update the customer</a> to have a new <code>default_source</code>.</p>

data PostCustomersCustomerBankAccountsRequestBody Source #

Defines the data type for the schema postCustomersCustomerBankAccountsRequestBody

Constructors

PostCustomersCustomerBankAccountsRequestBody 

Fields

data PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf2 Source #

Defines the data type for the schema postCustomersCustomerBankAccountsRequestBodyBank_account'OneOf2

Instances
Eq PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf2 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

Show PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf2 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

ToJSON PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf2 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

FromJSON PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf2 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

data PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf2AccountHolderType' Source #

Defines the enum schema postCustomersCustomerBankAccountsRequestBodyBank_account'OneOf2Account_holder_type'

Instances
Eq PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf2AccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

Show PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf2AccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

ToJSON PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf2AccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

FromJSON PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf2AccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

data PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf2Object' Source #

Defines the enum schema postCustomersCustomerBankAccountsRequestBodyBank_account'OneOf2Object'

Instances
Eq PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf2Object' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

Show PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf2Object' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

ToJSON PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf2Object' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

FromJSON PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf2Object' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

data PostCustomersCustomerBankAccountsRequestBodyBankAccount'Variants Source #

Define the one-of schema postCustomersCustomerBankAccountsRequestBodyBank_account'

Either a token, like the ones returned by Stripe.js, or a dictionary containing a user's bank account details.

Instances
Eq PostCustomersCustomerBankAccountsRequestBodyBankAccount'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

Show PostCustomersCustomerBankAccountsRequestBodyBankAccount'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

Generic PostCustomersCustomerBankAccountsRequestBodyBankAccount'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

ToJSON PostCustomersCustomerBankAccountsRequestBodyBankAccount'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

FromJSON PostCustomersCustomerBankAccountsRequestBodyBankAccount'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

type Rep PostCustomersCustomerBankAccountsRequestBodyBankAccount'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

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

data PostCustomersCustomerBankAccountsRequestBodyCard'OneOf2 Source #

Defines the data type for the schema postCustomersCustomerBankAccountsRequestBodyCard'OneOf2

Constructors

PostCustomersCustomerBankAccountsRequestBodyCard'OneOf2 

Fields

Instances
Eq PostCustomersCustomerBankAccountsRequestBodyCard'OneOf2 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

Show PostCustomersCustomerBankAccountsRequestBodyCard'OneOf2 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

ToJSON PostCustomersCustomerBankAccountsRequestBodyCard'OneOf2 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

FromJSON PostCustomersCustomerBankAccountsRequestBodyCard'OneOf2 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

data PostCustomersCustomerBankAccountsRequestBodyCard'OneOf2Metadata' Source #

Defines the data type for the schema postCustomersCustomerBankAccountsRequestBodyCard'OneOf2Metadata'

Instances
Eq PostCustomersCustomerBankAccountsRequestBodyCard'OneOf2Metadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

Show PostCustomersCustomerBankAccountsRequestBodyCard'OneOf2Metadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

ToJSON PostCustomersCustomerBankAccountsRequestBodyCard'OneOf2Metadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

FromJSON PostCustomersCustomerBankAccountsRequestBodyCard'OneOf2Metadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

data PostCustomersCustomerBankAccountsRequestBodyCard'OneOf2Object' Source #

Defines the enum schema postCustomersCustomerBankAccountsRequestBodyCard'OneOf2Object'

Instances
Eq PostCustomersCustomerBankAccountsRequestBodyCard'OneOf2Object' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

Show PostCustomersCustomerBankAccountsRequestBodyCard'OneOf2Object' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

ToJSON PostCustomersCustomerBankAccountsRequestBodyCard'OneOf2Object' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

FromJSON PostCustomersCustomerBankAccountsRequestBodyCard'OneOf2Object' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

data PostCustomersCustomerBankAccountsRequestBodyCard'Variants Source #

Define the one-of schema postCustomersCustomerBankAccountsRequestBodyCard'

A token, like the ones returned by Stripe.js.

Instances
Eq PostCustomersCustomerBankAccountsRequestBodyCard'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

Show PostCustomersCustomerBankAccountsRequestBodyCard'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

Generic PostCustomersCustomerBankAccountsRequestBodyCard'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

ToJSON PostCustomersCustomerBankAccountsRequestBodyCard'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

FromJSON PostCustomersCustomerBankAccountsRequestBodyCard'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

type Rep PostCustomersCustomerBankAccountsRequestBodyCard'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

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

data PostCustomersCustomerBankAccountsRequestBodyMetadata' Source #

Defines the data type for the schema postCustomersCustomerBankAccountsRequestBodyMetadata'

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

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

Show PostCustomersCustomerBankAccountsRequestBodyMetadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

ToJSON PostCustomersCustomerBankAccountsRequestBodyMetadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts

FromJSON PostCustomersCustomerBankAccountsRequestBodyMetadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccounts