stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostPaymentMethodsPaymentMethod

Description

Contains the different functions to run the operation postPaymentMethodsPaymentMethod

Synopsis

Documentation

postPaymentMethodsPaymentMethod Source #

Arguments

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

The configuration to use in the request

-> String

payment_method | Constraints: Maximum length of 5000

-> PostPaymentMethodsPaymentMethodRequestBody

The request body to send

-> m (Either HttpException (Response PostPaymentMethodsPaymentMethodResponse))

Monad containing the result of the operation

POST /v1/payment_methods/{payment_method}

<p>Updates a PaymentMethod object. A PaymentMethod must be attached a customer to be updated.</p>

data PostPaymentMethodsPaymentMethodRequestBody Source #

Defines the data type for the schema postPaymentMethodsPaymentMethodRequestBody

Constructors

PostPaymentMethodsPaymentMethodRequestBody 

Fields

data PostPaymentMethodsPaymentMethodRequestBodyBillingDetails' Source #

Defines the data type for the schema postPaymentMethodsPaymentMethodRequestBodyBilling_details'

Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.

Instances
Eq PostPaymentMethodsPaymentMethodRequestBodyBillingDetails' Source # 
Instance details

Defined in StripeAPI.Operations.PostPaymentMethodsPaymentMethod

Show PostPaymentMethodsPaymentMethodRequestBodyBillingDetails' Source # 
Instance details

Defined in StripeAPI.Operations.PostPaymentMethodsPaymentMethod

ToJSON PostPaymentMethodsPaymentMethodRequestBodyBillingDetails' Source # 
Instance details

Defined in StripeAPI.Operations.PostPaymentMethodsPaymentMethod

FromJSON PostPaymentMethodsPaymentMethodRequestBodyBillingDetails' Source # 
Instance details

Defined in StripeAPI.Operations.PostPaymentMethodsPaymentMethod

data PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address' Source #

Defines the data type for the schema postPaymentMethodsPaymentMethodRequestBodyBilling_details'Address'

Instances
Eq PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address' Source # 
Instance details

Defined in StripeAPI.Operations.PostPaymentMethodsPaymentMethod

Show PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address' Source # 
Instance details

Defined in StripeAPI.Operations.PostPaymentMethodsPaymentMethod

ToJSON PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address' Source # 
Instance details

Defined in StripeAPI.Operations.PostPaymentMethodsPaymentMethod

FromJSON PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address' Source # 
Instance details

Defined in StripeAPI.Operations.PostPaymentMethodsPaymentMethod

data PostPaymentMethodsPaymentMethodRequestBodyCard' Source #

Defines the data type for the schema postPaymentMethodsPaymentMethodRequestBodyCard'

If this is a `card` PaymentMethod, this hash contains the user's card details.

Instances
Eq PostPaymentMethodsPaymentMethodRequestBodyCard' Source # 
Instance details

Defined in StripeAPI.Operations.PostPaymentMethodsPaymentMethod

Show PostPaymentMethodsPaymentMethodRequestBodyCard' Source # 
Instance details

Defined in StripeAPI.Operations.PostPaymentMethodsPaymentMethod

ToJSON PostPaymentMethodsPaymentMethodRequestBodyCard' Source # 
Instance details

Defined in StripeAPI.Operations.PostPaymentMethodsPaymentMethod

FromJSON PostPaymentMethodsPaymentMethodRequestBodyCard' Source # 
Instance details

Defined in StripeAPI.Operations.PostPaymentMethodsPaymentMethod

data PostPaymentMethodsPaymentMethodRequestBodyMetadata' Source #

Defines the data type for the schema postPaymentMethodsPaymentMethodRequestBodyMetadata'

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

Defined in StripeAPI.Operations.PostPaymentMethodsPaymentMethod

Show PostPaymentMethodsPaymentMethodRequestBodyMetadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostPaymentMethodsPaymentMethod

ToJSON PostPaymentMethodsPaymentMethodRequestBodyMetadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostPaymentMethodsPaymentMethod

FromJSON PostPaymentMethodsPaymentMethodRequestBodyMetadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostPaymentMethodsPaymentMethod

data PostPaymentMethodsPaymentMethodRequestBodySepaDebit' Source #

Defines the data type for the schema postPaymentMethodsPaymentMethodRequestBodySepa_debit'

If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.

Instances
Eq PostPaymentMethodsPaymentMethodRequestBodySepaDebit' Source # 
Instance details

Defined in StripeAPI.Operations.PostPaymentMethodsPaymentMethod

Show PostPaymentMethodsPaymentMethodRequestBodySepaDebit' Source # 
Instance details

Defined in StripeAPI.Operations.PostPaymentMethodsPaymentMethod

ToJSON PostPaymentMethodsPaymentMethodRequestBodySepaDebit' Source # 
Instance details

Defined in StripeAPI.Operations.PostPaymentMethodsPaymentMethod

FromJSON PostPaymentMethodsPaymentMethodRequestBodySepaDebit' Source # 
Instance details

Defined in StripeAPI.Operations.PostPaymentMethodsPaymentMethod