stripeapi-0.1.0.2: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostCustomersCustomerCardsId

Description

Contains the different functions to run the operation postCustomersCustomerCardsId

Synopsis

Documentation

postCustomersCustomerCardsId Source #

Arguments

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

The configuration to use in the request

-> Text

customer | Constraints: Maximum length of 5000

-> Text

id | Constraints: Maximum length of 5000

-> Maybe PostCustomersCustomerCardsIdRequestBody

The request body to send

-> m (Either HttpException (Response PostCustomersCustomerCardsIdResponse))

Monad containing the result of the operation

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

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

data PostCustomersCustomerCardsIdRequestBody Source #

Defines the data type for the schema postCustomersCustomerCardsIdRequestBody

Constructors

PostCustomersCustomerCardsIdRequestBody 

Fields

data PostCustomersCustomerCardsIdRequestBodyAccountHolderType' Source #

Defines the enum schema postCustomersCustomerCardsIdRequestBodyAccount_holder_type'

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

Instances
Eq PostCustomersCustomerCardsIdRequestBodyAccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

Show PostCustomersCustomerCardsIdRequestBodyAccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

ToJSON PostCustomersCustomerCardsIdRequestBodyAccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

FromJSON PostCustomersCustomerCardsIdRequestBodyAccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

data PostCustomersCustomerCardsIdRequestBodyMetadata' Source #

Defines the data type for the schema postCustomersCustomerCardsIdRequestBodyMetadata'

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

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

Show PostCustomersCustomerCardsIdRequestBodyMetadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

ToJSON PostCustomersCustomerCardsIdRequestBodyMetadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

FromJSON PostCustomersCustomerCardsIdRequestBodyMetadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

data PostCustomersCustomerCardsIdRequestBodyOwner' Source #

Defines the data type for the schema postCustomersCustomerCardsIdRequestBodyOwner'

data PostCustomersCustomerCardsIdRequestBodyOwner'Address' Source #

Defines the data type for the schema postCustomersCustomerCardsIdRequestBodyOwner'Address'

Instances
Eq PostCustomersCustomerCardsIdRequestBodyOwner'Address' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

Show PostCustomersCustomerCardsIdRequestBodyOwner'Address' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

ToJSON PostCustomersCustomerCardsIdRequestBodyOwner'Address' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

FromJSON PostCustomersCustomerCardsIdRequestBodyOwner'Address' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

data PostCustomersCustomerCardsIdResponseBody200 Source #

Defines the data type for the schema PostCustomersCustomerCardsIdResponseBody200

Constructors

PostCustomersCustomerCardsIdResponseBody200 

Fields

data PostCustomersCustomerCardsIdResponseBody200Account'Variants Source #

Define the one-of schema PostCustomersCustomerCardsIdResponseBody200Account'

The ID of the account that the bank account is associated with.

Instances
Eq PostCustomersCustomerCardsIdResponseBody200Account'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

Show PostCustomersCustomerCardsIdResponseBody200Account'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

Generic PostCustomersCustomerCardsIdResponseBody200Account'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

ToJSON PostCustomersCustomerCardsIdResponseBody200Account'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

FromJSON PostCustomersCustomerCardsIdResponseBody200Account'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

type Rep PostCustomersCustomerCardsIdResponseBody200Account'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

type Rep PostCustomersCustomerCardsIdResponseBody200Account'Variants = D1 (MetaData "PostCustomersCustomerCardsIdResponseBody200Account'Variants" "StripeAPI.Operations.PostCustomersCustomerCardsId" "stripeapi-0.1.0.2-D0ebvtj6l9B4TLqRwmHKaP" False) (C1 (MetaCons "PostCustomersCustomerCardsIdResponseBody200Account'Account" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Account)) :+: C1 (MetaCons "PostCustomersCustomerCardsIdResponseBody200Account'Text" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

data PostCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods' Source #

Defines the enum schema PostCustomersCustomerCardsIdResponseBody200Available_payout_methods'

Instances
Eq PostCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

Show PostCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

ToJSON PostCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

FromJSON PostCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

data PostCustomersCustomerCardsIdResponseBody200Customer'Variants Source #

Define the one-of schema PostCustomersCustomerCardsIdResponseBody200Customer'

The ID of the customer that the bank account is associated with.

Instances
Eq PostCustomersCustomerCardsIdResponseBody200Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

Show PostCustomersCustomerCardsIdResponseBody200Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

Generic PostCustomersCustomerCardsIdResponseBody200Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

ToJSON PostCustomersCustomerCardsIdResponseBody200Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

FromJSON PostCustomersCustomerCardsIdResponseBody200Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

type Rep PostCustomersCustomerCardsIdResponseBody200Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

type Rep PostCustomersCustomerCardsIdResponseBody200Customer'Variants = D1 (MetaData "PostCustomersCustomerCardsIdResponseBody200Customer'Variants" "StripeAPI.Operations.PostCustomersCustomerCardsId" "stripeapi-0.1.0.2-D0ebvtj6l9B4TLqRwmHKaP" False) (C1 (MetaCons "PostCustomersCustomerCardsIdResponseBody200Customer'Customer" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Customer)) :+: (C1 (MetaCons "PostCustomersCustomerCardsIdResponseBody200Customer'DeletedCustomer" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 DeletedCustomer)) :+: C1 (MetaCons "PostCustomersCustomerCardsIdResponseBody200Customer'Text" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))))

data PostCustomersCustomerCardsIdResponseBody200Metadata' Source #

Defines the data type for the schema PostCustomersCustomerCardsIdResponseBody200Metadata'

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.

Instances
Eq PostCustomersCustomerCardsIdResponseBody200Metadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

Show PostCustomersCustomerCardsIdResponseBody200Metadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

ToJSON PostCustomersCustomerCardsIdResponseBody200Metadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

FromJSON PostCustomersCustomerCardsIdResponseBody200Metadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

data PostCustomersCustomerCardsIdResponseBody200Object' Source #

Defines the enum schema PostCustomersCustomerCardsIdResponseBody200Object'

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

Instances
Eq PostCustomersCustomerCardsIdResponseBody200Object' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

Show PostCustomersCustomerCardsIdResponseBody200Object' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

ToJSON PostCustomersCustomerCardsIdResponseBody200Object' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

FromJSON PostCustomersCustomerCardsIdResponseBody200Object' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

data PostCustomersCustomerCardsIdResponseBody200Owner' Source #

Defines the data type for the schema PostCustomersCustomerCardsIdResponseBody200Owner'

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

Constructors

PostCustomersCustomerCardsIdResponseBody200Owner' 

Fields

Instances
Eq PostCustomersCustomerCardsIdResponseBody200Owner' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

Show PostCustomersCustomerCardsIdResponseBody200Owner' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

ToJSON PostCustomersCustomerCardsIdResponseBody200Owner' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

FromJSON PostCustomersCustomerCardsIdResponseBody200Owner' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

data PostCustomersCustomerCardsIdResponseBody200Owner'Address' Source #

Defines the data type for the schema PostCustomersCustomerCardsIdResponseBody200Owner'Address'

Owner\'s address.

Constructors

PostCustomersCustomerCardsIdResponseBody200Owner'Address' 

Fields

Instances
Eq PostCustomersCustomerCardsIdResponseBody200Owner'Address' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

Show PostCustomersCustomerCardsIdResponseBody200Owner'Address' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

ToJSON PostCustomersCustomerCardsIdResponseBody200Owner'Address' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

FromJSON PostCustomersCustomerCardsIdResponseBody200Owner'Address' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

data PostCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress' Source #

Defines the data type for the schema PostCustomersCustomerCardsIdResponseBody200Owner'Verified_address'

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

PostCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress' 

Fields

Instances
Eq PostCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

Show PostCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

ToJSON PostCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

FromJSON PostCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

data PostCustomersCustomerCardsIdResponseBody200Recipient'Variants Source #

Define the one-of schema PostCustomersCustomerCardsIdResponseBody200Recipient'

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
Eq PostCustomersCustomerCardsIdResponseBody200Recipient'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

Show PostCustomersCustomerCardsIdResponseBody200Recipient'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

Generic PostCustomersCustomerCardsIdResponseBody200Recipient'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

ToJSON PostCustomersCustomerCardsIdResponseBody200Recipient'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

FromJSON PostCustomersCustomerCardsIdResponseBody200Recipient'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

type Rep PostCustomersCustomerCardsIdResponseBody200Recipient'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

type Rep PostCustomersCustomerCardsIdResponseBody200Recipient'Variants = D1 (MetaData "PostCustomersCustomerCardsIdResponseBody200Recipient'Variants" "StripeAPI.Operations.PostCustomersCustomerCardsId" "stripeapi-0.1.0.2-D0ebvtj6l9B4TLqRwmHKaP" False) (C1 (MetaCons "PostCustomersCustomerCardsIdResponseBody200Recipient'Recipient" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Recipient)) :+: C1 (MetaCons "PostCustomersCustomerCardsIdResponseBody200Recipient'Text" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

data PostCustomersCustomerCardsIdResponseBody200Type' Source #

Defines the enum schema PostCustomersCustomerCardsIdResponseBody200Type'

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.

Instances
Eq PostCustomersCustomerCardsIdResponseBody200Type' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

Show PostCustomersCustomerCardsIdResponseBody200Type' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

ToJSON PostCustomersCustomerCardsIdResponseBody200Type' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId

FromJSON PostCustomersCustomerCardsIdResponseBody200Type' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerCardsId