stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostAccountExternalAccountsId

Description

Contains the different functions to run the operation postAccountExternalAccountsId

Synopsis

Documentation

postAccountExternalAccountsId Source #

Arguments

:: forall m. MonadHTTP m 
=> Text

id

-> Maybe PostAccountExternalAccountsIdRequestBody

The request body to send

-> ClientT m (Response PostAccountExternalAccountsIdResponse)

Monadic computation which returns 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 object schema located at paths./v1/account/external_accounts/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema in the specification.

Constructors

PostAccountExternalAccountsIdRequestBody 

Fields

data PostAccountExternalAccountsIdRequestBodyAccountHolderType' Source #

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

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

Constructors

PostAccountExternalAccountsIdRequestBodyAccountHolderType'Other Value

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

PostAccountExternalAccountsIdRequestBodyAccountHolderType'Typed Text

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

PostAccountExternalAccountsIdRequestBodyAccountHolderType'EnumEmptyString

Represents the JSON value ""

PostAccountExternalAccountsIdRequestBodyAccountHolderType'EnumCompany

Represents the JSON value "company"

PostAccountExternalAccountsIdRequestBodyAccountHolderType'EnumIndividual

Represents the JSON value "individual"

Instances

Instances details
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'Variants Source #

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

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

Instances details
Eq PostAccountExternalAccountsIdRequestBodyMetadata'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountExternalAccountsId

Show PostAccountExternalAccountsIdRequestBodyMetadata'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountExternalAccountsId

ToJSON PostAccountExternalAccountsIdRequestBodyMetadata'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountExternalAccountsId

FromJSON PostAccountExternalAccountsIdRequestBodyMetadata'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountExternalAccountsId