stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostAccountsAccountExternalAccounts

Description

Contains the different functions to run the operation postAccountsAccountExternalAccounts

Synopsis

Documentation

postAccountsAccountExternalAccounts Source #

Arguments

:: forall m. MonadHTTP m 
=> Text

account | Constraints: Maximum length of 5000

-> Maybe PostAccountsAccountExternalAccountsRequestBody

The request body to send

-> ClientT m (Response PostAccountsAccountExternalAccountsResponse)

Monadic computation which returns the result of the operation

POST /v1/accounts/{account}/external_accounts

<p>Create an external account for a given account.</p>

data PostAccountsAccountExternalAccountsRequestBody Source #

Defines the object schema located at paths./v1/accounts/{account}/external_accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema in the specification.

Constructors

PostAccountsAccountExternalAccountsRequestBody 

Fields

Instances

Instances details
Eq PostAccountsAccountExternalAccountsRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountExternalAccounts

Show PostAccountsAccountExternalAccountsRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountExternalAccounts

ToJSON PostAccountsAccountExternalAccountsRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountExternalAccounts

FromJSON PostAccountsAccountExternalAccountsRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountExternalAccounts

data PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1 Source #

Defines the object schema located at paths./v1/accounts/{account}/external_accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf in the specification.

Instances

Instances details
Eq PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountExternalAccounts

Show PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountExternalAccounts

ToJSON PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountExternalAccounts

FromJSON PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountExternalAccounts

data PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType' Source #

Defines the enum schema located at paths./v1/accounts/{account}/external_accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf.properties.account_holder_type in the specification.

Constructors

PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType'EnumCompany

Represents the JSON value "company"

PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType'EnumIndividual

Represents the JSON value "individual"

Instances

Instances details
Eq PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountExternalAccounts

Show PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountExternalAccounts

ToJSON PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountExternalAccounts

FromJSON PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountExternalAccounts

data PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1Object' Source #

Defines the enum schema located at paths./v1/accounts/{account}/external_accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf.properties.object in the specification.

Constructors

PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1Object'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1Object'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1Object'EnumBankAccount

Represents the JSON value "bank_account"

Instances

Instances details
Eq PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1Object' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountExternalAccounts

Show PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1Object' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountExternalAccounts

ToJSON PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1Object' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountExternalAccounts

FromJSON PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1Object' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountExternalAccounts

data PostAccountsAccountExternalAccountsRequestBodyBankAccount'Variants Source #

Defines the oneOf schema located at paths./v1/accounts/{account}/external_accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf in the specification.

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

Instances

Instances details
Eq PostAccountsAccountExternalAccountsRequestBodyBankAccount'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountExternalAccounts

Show PostAccountsAccountExternalAccountsRequestBodyBankAccount'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountExternalAccounts

ToJSON PostAccountsAccountExternalAccountsRequestBodyBankAccount'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountExternalAccounts

FromJSON PostAccountsAccountExternalAccountsRequestBodyBankAccount'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountExternalAccounts