stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostCustomersCustomerBankAccountsId

Description

Contains the different functions to run the operation postCustomersCustomerBankAccountsId

Synopsis

Documentation

postCustomersCustomerBankAccountsId Source #

Arguments

:: forall m. MonadHTTP m 
=> PostCustomersCustomerBankAccountsIdParameters

Contains all available parameters of this operation (query and path parameters)

-> Maybe PostCustomersCustomerBankAccountsIdRequestBody

The request body to send

-> ClientT m (Response PostCustomersCustomerBankAccountsIdResponse)

Monadic computation which returns the result of the operation

POST /v1/customers/{customer}/bank_accounts/{id}

<p>Update a specified source for a given customer.</p>

data PostCustomersCustomerBankAccountsIdParameters Source #

Defines the object schema located at paths./v1/customers/{customer}/bank_accounts/{id}.POST.parameters in the specification.

Constructors

PostCustomersCustomerBankAccountsIdParameters 

Fields

Instances

Instances details
Eq PostCustomersCustomerBankAccountsIdParameters Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

Show PostCustomersCustomerBankAccountsIdParameters Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

ToJSON PostCustomersCustomerBankAccountsIdParameters Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

FromJSON PostCustomersCustomerBankAccountsIdParameters Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

data PostCustomersCustomerBankAccountsIdRequestBody Source #

Defines the object schema located at paths./v1/customers/{customer}/bank_accounts/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema in the specification.

Constructors

PostCustomersCustomerBankAccountsIdRequestBody 

Fields

Instances

Instances details
Eq PostCustomersCustomerBankAccountsIdRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

Show PostCustomersCustomerBankAccountsIdRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

ToJSON PostCustomersCustomerBankAccountsIdRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

FromJSON PostCustomersCustomerBankAccountsIdRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

data PostCustomersCustomerBankAccountsIdRequestBodyAccountHolderType' Source #

Defines the enum schema located at paths./v1/customers/{customer}/bank_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

PostCustomersCustomerBankAccountsIdRequestBodyAccountHolderType'Other Value

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

PostCustomersCustomerBankAccountsIdRequestBodyAccountHolderType'Typed Text

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

PostCustomersCustomerBankAccountsIdRequestBodyAccountHolderType'EnumCompany

Represents the JSON value "company"

PostCustomersCustomerBankAccountsIdRequestBodyAccountHolderType'EnumIndividual

Represents the JSON value "individual"

Instances

Instances details
Eq PostCustomersCustomerBankAccountsIdRequestBodyAccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

Show PostCustomersCustomerBankAccountsIdRequestBodyAccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

ToJSON PostCustomersCustomerBankAccountsIdRequestBodyAccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

FromJSON PostCustomersCustomerBankAccountsIdRequestBodyAccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

data PostCustomersCustomerBankAccountsIdRequestBodyMetadata'Variants Source #

Defines the oneOf schema located at paths./v1/customers/{customer}/bank_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 PostCustomersCustomerBankAccountsIdRequestBodyMetadata'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

Show PostCustomersCustomerBankAccountsIdRequestBodyMetadata'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

ToJSON PostCustomersCustomerBankAccountsIdRequestBodyMetadata'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

FromJSON PostCustomersCustomerBankAccountsIdRequestBodyMetadata'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

data PostCustomersCustomerBankAccountsIdRequestBodyOwner' Source #

Defines the object schema located at paths./v1/customers/{customer}/bank_accounts/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.owner in the specification.

Instances

Instances details
Eq PostCustomersCustomerBankAccountsIdRequestBodyOwner' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

Show PostCustomersCustomerBankAccountsIdRequestBodyOwner' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

ToJSON PostCustomersCustomerBankAccountsIdRequestBodyOwner' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

FromJSON PostCustomersCustomerBankAccountsIdRequestBodyOwner' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

data PostCustomersCustomerBankAccountsIdRequestBodyOwner'Address' Source #

Defines the object schema located at paths./v1/customers/{customer}/bank_accounts/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.owner.properties.address in the specification.

Instances

Instances details
Eq PostCustomersCustomerBankAccountsIdRequestBodyOwner'Address' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

Show PostCustomersCustomerBankAccountsIdRequestBodyOwner'Address' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

ToJSON PostCustomersCustomerBankAccountsIdRequestBodyOwner'Address' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

FromJSON PostCustomersCustomerBankAccountsIdRequestBodyOwner'Address' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

data PostCustomersCustomerBankAccountsIdResponseBody200 Source #

Defines the object schema located at paths./v1/customers/{customer}/bank_accounts/{id}.POST.responses.200.content.application/json.schema.anyOf in the specification.

Constructors

PostCustomersCustomerBankAccountsIdResponseBody200 

Fields

Instances

Instances details
Eq PostCustomersCustomerBankAccountsIdResponseBody200 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

Show PostCustomersCustomerBankAccountsIdResponseBody200 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

ToJSON PostCustomersCustomerBankAccountsIdResponseBody200 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

FromJSON PostCustomersCustomerBankAccountsIdResponseBody200 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

data PostCustomersCustomerBankAccountsIdResponseBody200Account'Variants Source #

Defines the oneOf schema located at paths./v1/customers/{customer}/bank_accounts/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.account.anyOf in the specification.

The account this card belongs to. This attribute will not be in the card object if the card belongs to a customer or recipient instead.

Instances

Instances details
Eq PostCustomersCustomerBankAccountsIdResponseBody200Account'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

Show PostCustomersCustomerBankAccountsIdResponseBody200Account'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

ToJSON PostCustomersCustomerBankAccountsIdResponseBody200Account'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

FromJSON PostCustomersCustomerBankAccountsIdResponseBody200Account'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

data PostCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods' Source #

Defines the enum schema located at paths./v1/customers/{customer}/bank_accounts/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.available_payout_methods.items in the specification.

Constructors

PostCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'Other Value

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

PostCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'Typed Text

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

PostCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'EnumInstant

Represents the JSON value "instant"

PostCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'EnumStandard

Represents the JSON value "standard"

Instances

Instances details
Eq PostCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

Show PostCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

ToJSON PostCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

FromJSON PostCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

data PostCustomersCustomerBankAccountsIdResponseBody200Customer'Variants Source #

Defines the oneOf schema located at paths./v1/customers/{customer}/bank_accounts/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.customer.anyOf in the specification.

The customer that this card belongs to. This attribute will not be in the card object if the card belongs to an account or recipient instead.

Instances

Instances details
Eq PostCustomersCustomerBankAccountsIdResponseBody200Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

Show PostCustomersCustomerBankAccountsIdResponseBody200Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

ToJSON PostCustomersCustomerBankAccountsIdResponseBody200Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

FromJSON PostCustomersCustomerBankAccountsIdResponseBody200Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

data PostCustomersCustomerBankAccountsIdResponseBody200Object' Source #

Defines the enum schema located at paths./v1/customers/{customer}/bank_accounts/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.object in the specification.

String representing the object's type. Objects of the same type share the same value.

Constructors

PostCustomersCustomerBankAccountsIdResponseBody200Object'Other Value

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

PostCustomersCustomerBankAccountsIdResponseBody200Object'Typed Text

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

PostCustomersCustomerBankAccountsIdResponseBody200Object'EnumCard

Represents the JSON value "card"

Instances

Instances details
Eq PostCustomersCustomerBankAccountsIdResponseBody200Object' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

Show PostCustomersCustomerBankAccountsIdResponseBody200Object' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

ToJSON PostCustomersCustomerBankAccountsIdResponseBody200Object' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

FromJSON PostCustomersCustomerBankAccountsIdResponseBody200Object' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

data PostCustomersCustomerBankAccountsIdResponseBody200Owner' Source #

Defines the object schema located at paths./v1/customers/{customer}/bank_accounts/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.owner.anyOf in the specification.

Information about the owner of the payment instrument that may be used or required by particular source types.

Constructors

PostCustomersCustomerBankAccountsIdResponseBody200Owner' 

Fields

Instances

Instances details
Eq PostCustomersCustomerBankAccountsIdResponseBody200Owner' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

Show PostCustomersCustomerBankAccountsIdResponseBody200Owner' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

ToJSON PostCustomersCustomerBankAccountsIdResponseBody200Owner' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

FromJSON PostCustomersCustomerBankAccountsIdResponseBody200Owner' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

data PostCustomersCustomerBankAccountsIdResponseBody200Owner'Address' Source #

Defines the object schema located at paths./v1/customers/{customer}/bank_accounts/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.owner.anyOf.properties.address.anyOf in the specification.

Owner\'s address.

Constructors

PostCustomersCustomerBankAccountsIdResponseBody200Owner'Address' 

Fields

Instances

Instances details
Eq PostCustomersCustomerBankAccountsIdResponseBody200Owner'Address' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

Show PostCustomersCustomerBankAccountsIdResponseBody200Owner'Address' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

ToJSON PostCustomersCustomerBankAccountsIdResponseBody200Owner'Address' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

FromJSON PostCustomersCustomerBankAccountsIdResponseBody200Owner'Address' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

data PostCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress' Source #

Defines the object schema located at paths./v1/customers/{customer}/bank_accounts/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.owner.anyOf.properties.verified_address.anyOf in the specification.

Verified owner\'s address. Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.

Constructors

PostCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress' 

Fields

Instances

Instances details
Eq PostCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

Show PostCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

ToJSON PostCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

FromJSON PostCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

data PostCustomersCustomerBankAccountsIdResponseBody200Recipient'Variants Source #

Defines the oneOf schema located at paths./v1/customers/{customer}/bank_accounts/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.recipient.anyOf in the specification.

The recipient that this card belongs to. This attribute will not be in the card object if the card belongs to a customer or account instead.

Instances

Instances details
Eq PostCustomersCustomerBankAccountsIdResponseBody200Recipient'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

Show PostCustomersCustomerBankAccountsIdResponseBody200Recipient'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

ToJSON PostCustomersCustomerBankAccountsIdResponseBody200Recipient'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

FromJSON PostCustomersCustomerBankAccountsIdResponseBody200Recipient'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

data PostCustomersCustomerBankAccountsIdResponseBody200Type' Source #

Defines the enum schema located at paths./v1/customers/{customer}/bank_accounts/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.type in the specification.

The `type` of the source. The `type` is a payment method, one of `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`, `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`, `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An additional hash is included on the source with a name matching this value. It contains additional information specific to the payment method used.

Constructors

PostCustomersCustomerBankAccountsIdResponseBody200Type'Other Value

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

PostCustomersCustomerBankAccountsIdResponseBody200Type'Typed Text

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

PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumAchCreditTransfer

Represents the JSON value "ach_credit_transfer"

PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumAchDebit

Represents the JSON value "ach_debit"

PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumAcssDebit

Represents the JSON value "acss_debit"

PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumAlipay

Represents the JSON value "alipay"

PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumAuBecsDebit

Represents the JSON value "au_becs_debit"

PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumBancontact

Represents the JSON value "bancontact"

PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumCard

Represents the JSON value "card"

PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumCardPresent

Represents the JSON value "card_present"

PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumEps

Represents the JSON value "eps"

PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumGiropay

Represents the JSON value "giropay"

PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumIdeal

Represents the JSON value "ideal"

PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumKlarna

Represents the JSON value "klarna"

PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumMultibanco

Represents the JSON value "multibanco"

PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumP24

Represents the JSON value "p24"

PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumSepaDebit

Represents the JSON value "sepa_debit"

PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumSofort

Represents the JSON value "sofort"

PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumThreeDSecure

Represents the JSON value "three_d_secure"

PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumWechat

Represents the JSON value "wechat"

Instances

Instances details
Eq PostCustomersCustomerBankAccountsIdResponseBody200Type' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

Show PostCustomersCustomerBankAccountsIdResponseBody200Type' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

ToJSON PostCustomersCustomerBankAccountsIdResponseBody200Type' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId

FromJSON PostCustomersCustomerBankAccountsIdResponseBody200Type' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerBankAccountsId