stripeapi-0.1.0.2: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostAccountExternalAccountsId

Description

Contains the different functions to run the operation postAccountExternalAccountsId

Synopsis

Documentation

postAccountExternalAccountsId Source #

Arguments

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

The configuration to use in the request

-> Text

id

-> Maybe PostAccountExternalAccountsIdRequestBody

The request body to send

-> m (Either HttpException (Response PostAccountExternalAccountsIdResponse))

Monad containing the result of the operation

POST /v1/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 PostAccountExternalAccountsIdRequestBody Source #

Defines the data type for the schema postAccountExternalAccountsIdRequestBody

Constructors

PostAccountExternalAccountsIdRequestBody 

Fields

data PostAccountExternalAccountsIdRequestBodyAccountHolderType' Source #

Defines the enum schema postAccountExternalAccountsIdRequestBodyAccount_holder_type'

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

Instances
Eq PostAccountExternalAccountsIdRequestBodyAccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountExternalAccountsId

Show PostAccountExternalAccountsIdRequestBodyAccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountExternalAccountsId

ToJSON PostAccountExternalAccountsIdRequestBodyAccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountExternalAccountsId

FromJSON PostAccountExternalAccountsIdRequestBodyAccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountExternalAccountsId

data PostAccountExternalAccountsIdRequestBodyMetadata' Source #

Defines the data type for the schema postAccountExternalAccountsIdRequestBodyMetadata'

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

Defined in StripeAPI.Operations.PostAccountExternalAccountsId

Show PostAccountExternalAccountsIdRequestBodyMetadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountExternalAccountsId

ToJSON PostAccountExternalAccountsIdRequestBodyMetadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountExternalAccountsId

FromJSON PostAccountExternalAccountsIdRequestBodyMetadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountExternalAccountsId