stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostAccountsAccountExternalAccountsId

Description

Contains the different functions to run the operation postAccountsAccountExternalAccountsId

Synopsis

Documentation

postAccountsAccountExternalAccountsId Source #

Arguments

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

The configuration to use in the request

-> String

account | Constraints: Maximum length of 5000

-> String

id

-> PostAccountsAccountExternalAccountsIdRequestBody

The request body to send

-> m (Either HttpException (Response PostAccountsAccountExternalAccountsIdResponse))

Monad containing the result of the operation

POST /v1/accounts/{account}/external_accounts/{id}

<p>Updates the metadata, account holder name, and account holder type of a bank account belonging to a <a href="/docs/connect/custom-accounts">Custom account</a>, and optionally sets it as the default for its currency. Other bank account details are not editable by design.</p> <p>You can re-enable a disabled bank account by performing an update call without providing any arguments or changes.</p>

data PostAccountsAccountExternalAccountsIdRequestBody Source #

Defines the data type for the schema postAccountsAccountExternalAccountsIdRequestBody

Constructors

PostAccountsAccountExternalAccountsIdRequestBody 

Fields

Instances
Eq PostAccountsAccountExternalAccountsIdRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountExternalAccountsId

Show PostAccountsAccountExternalAccountsIdRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountExternalAccountsId

ToJSON PostAccountsAccountExternalAccountsIdRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountExternalAccountsId

FromJSON PostAccountsAccountExternalAccountsIdRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountExternalAccountsId

data PostAccountsAccountExternalAccountsIdRequestBodyAccountHolderType' Source #

Defines the enum schema postAccountsAccountExternalAccountsIdRequestBodyAccount_holder_type'

The type of entity that holds the account. This can be either `individual` or `company`.

Instances
Eq PostAccountsAccountExternalAccountsIdRequestBodyAccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountExternalAccountsId

Show PostAccountsAccountExternalAccountsIdRequestBodyAccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountExternalAccountsId

ToJSON PostAccountsAccountExternalAccountsIdRequestBodyAccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountExternalAccountsId

FromJSON PostAccountsAccountExternalAccountsIdRequestBodyAccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountExternalAccountsId

data PostAccountsAccountExternalAccountsIdRequestBodyMetadata' Source #

Defines the data type for the schema postAccountsAccountExternalAccountsIdRequestBodyMetadata'

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

Defined in StripeAPI.Operations.PostAccountsAccountExternalAccountsId

Show PostAccountsAccountExternalAccountsIdRequestBodyMetadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountExternalAccountsId

ToJSON PostAccountsAccountExternalAccountsIdRequestBodyMetadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountExternalAccountsId

FromJSON PostAccountsAccountExternalAccountsIdRequestBodyMetadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountExternalAccountsId