stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostCustomersCustomerSourcesId

Description

Contains the different functions to run the operation postCustomersCustomerSourcesId

Synopsis

Documentation

postCustomersCustomerSourcesId Source #

Arguments

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

The configuration to use in the request

-> String

customer | Constraints: Maximum length of 5000

-> String

id | Constraints: Maximum length of 5000

-> PostCustomersCustomerSourcesIdRequestBody

The request body to send

-> m (Either HttpException (Response PostCustomersCustomerSourcesIdResponse))

Monad containing the result of the operation

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

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

data PostCustomersCustomerSourcesIdRequestBody Source #

Defines the data type for the schema postCustomersCustomerSourcesIdRequestBody

Constructors

PostCustomersCustomerSourcesIdRequestBody 

Fields

data PostCustomersCustomerSourcesIdRequestBodyAccountHolderType' Source #

Defines the enum schema postCustomersCustomerSourcesIdRequestBodyAccount_holder_type'

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

Instances
Eq PostCustomersCustomerSourcesIdRequestBodyAccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

Show PostCustomersCustomerSourcesIdRequestBodyAccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

ToJSON PostCustomersCustomerSourcesIdRequestBodyAccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

FromJSON PostCustomersCustomerSourcesIdRequestBodyAccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

data PostCustomersCustomerSourcesIdRequestBodyMetadata' Source #

Defines the data type for the schema postCustomersCustomerSourcesIdRequestBodyMetadata'

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

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

Show PostCustomersCustomerSourcesIdRequestBodyMetadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

ToJSON PostCustomersCustomerSourcesIdRequestBodyMetadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

FromJSON PostCustomersCustomerSourcesIdRequestBodyMetadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

data PostCustomersCustomerSourcesIdRequestBodyOwner' Source #

Defines the data type for the schema postCustomersCustomerSourcesIdRequestBodyOwner'

Instances
Eq PostCustomersCustomerSourcesIdRequestBodyOwner' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

Show PostCustomersCustomerSourcesIdRequestBodyOwner' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

ToJSON PostCustomersCustomerSourcesIdRequestBodyOwner' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

FromJSON PostCustomersCustomerSourcesIdRequestBodyOwner' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

data PostCustomersCustomerSourcesIdRequestBodyOwner'Address' Source #

Defines the data type for the schema postCustomersCustomerSourcesIdRequestBodyOwner'Address'

Instances
Eq PostCustomersCustomerSourcesIdRequestBodyOwner'Address' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

Show PostCustomersCustomerSourcesIdRequestBodyOwner'Address' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

ToJSON PostCustomersCustomerSourcesIdRequestBodyOwner'Address' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

FromJSON PostCustomersCustomerSourcesIdRequestBodyOwner'Address' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

data PostCustomersCustomerSourcesIdResponseBody200 Source #

Defines the data type for the schema PostCustomersCustomerSourcesIdResponseBody200

Constructors

PostCustomersCustomerSourcesIdResponseBody200 

Fields

data PostCustomersCustomerSourcesIdResponseBody200Account'Variants Source #

Define the one-of schema PostCustomersCustomerSourcesIdResponseBody200Account'

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

Instances
Eq PostCustomersCustomerSourcesIdResponseBody200Account'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

Show PostCustomersCustomerSourcesIdResponseBody200Account'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

Generic PostCustomersCustomerSourcesIdResponseBody200Account'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

ToJSON PostCustomersCustomerSourcesIdResponseBody200Account'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

FromJSON PostCustomersCustomerSourcesIdResponseBody200Account'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

type Rep PostCustomersCustomerSourcesIdResponseBody200Account'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

type Rep PostCustomersCustomerSourcesIdResponseBody200Account'Variants = D1 (MetaData "PostCustomersCustomerSourcesIdResponseBody200Account'Variants" "StripeAPI.Operations.PostCustomersCustomerSourcesId" "stripeapi-0.1.0.0-A3hJyYFbMZN6w4qjBpK6b6" False) (C1 (MetaCons "PostCustomersCustomerSourcesIdResponseBody200Account'Account" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Account)) :+: C1 (MetaCons "PostCustomersCustomerSourcesIdResponseBody200Account'String" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)))

data PostCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods' Source #

Defines the enum schema PostCustomersCustomerSourcesIdResponseBody200Available_payout_methods'

Instances
Eq PostCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

Show PostCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

ToJSON PostCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

FromJSON PostCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

data PostCustomersCustomerSourcesIdResponseBody200Customer'Variants Source #

Define the one-of schema PostCustomersCustomerSourcesIdResponseBody200Customer'

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

Instances
Eq PostCustomersCustomerSourcesIdResponseBody200Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

Show PostCustomersCustomerSourcesIdResponseBody200Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

Generic PostCustomersCustomerSourcesIdResponseBody200Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

ToJSON PostCustomersCustomerSourcesIdResponseBody200Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

FromJSON PostCustomersCustomerSourcesIdResponseBody200Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

type Rep PostCustomersCustomerSourcesIdResponseBody200Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

type Rep PostCustomersCustomerSourcesIdResponseBody200Customer'Variants = D1 (MetaData "PostCustomersCustomerSourcesIdResponseBody200Customer'Variants" "StripeAPI.Operations.PostCustomersCustomerSourcesId" "stripeapi-0.1.0.0-A3hJyYFbMZN6w4qjBpK6b6" False) (C1 (MetaCons "PostCustomersCustomerSourcesIdResponseBody200Customer'Customer" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Customer)) :+: (C1 (MetaCons "PostCustomersCustomerSourcesIdResponseBody200Customer'DeletedCustomer" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 DeletedCustomer)) :+: C1 (MetaCons "PostCustomersCustomerSourcesIdResponseBody200Customer'String" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))))

data PostCustomersCustomerSourcesIdResponseBody200Metadata' Source #

Defines the data type for the schema PostCustomersCustomerSourcesIdResponseBody200Metadata'

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

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

Show PostCustomersCustomerSourcesIdResponseBody200Metadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

ToJSON PostCustomersCustomerSourcesIdResponseBody200Metadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

FromJSON PostCustomersCustomerSourcesIdResponseBody200Metadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

data PostCustomersCustomerSourcesIdResponseBody200Object' Source #

Defines the enum schema PostCustomersCustomerSourcesIdResponseBody200Object'

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

Instances
Eq PostCustomersCustomerSourcesIdResponseBody200Object' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

Show PostCustomersCustomerSourcesIdResponseBody200Object' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

ToJSON PostCustomersCustomerSourcesIdResponseBody200Object' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

FromJSON PostCustomersCustomerSourcesIdResponseBody200Object' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

data PostCustomersCustomerSourcesIdResponseBody200Owner' Source #

Defines the data type for the schema PostCustomersCustomerSourcesIdResponseBody200Owner'

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

Constructors

PostCustomersCustomerSourcesIdResponseBody200Owner' 

Fields

Instances
Eq PostCustomersCustomerSourcesIdResponseBody200Owner' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

Show PostCustomersCustomerSourcesIdResponseBody200Owner' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

ToJSON PostCustomersCustomerSourcesIdResponseBody200Owner' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

FromJSON PostCustomersCustomerSourcesIdResponseBody200Owner' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

data PostCustomersCustomerSourcesIdResponseBody200Owner'Address' Source #

Defines the data type for the schema PostCustomersCustomerSourcesIdResponseBody200Owner'Address'

Owner\'s address.

Constructors

PostCustomersCustomerSourcesIdResponseBody200Owner'Address' 

Fields

Instances
Eq PostCustomersCustomerSourcesIdResponseBody200Owner'Address' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

Show PostCustomersCustomerSourcesIdResponseBody200Owner'Address' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

ToJSON PostCustomersCustomerSourcesIdResponseBody200Owner'Address' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

FromJSON PostCustomersCustomerSourcesIdResponseBody200Owner'Address' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

data PostCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress' Source #

Defines the data type for the schema PostCustomersCustomerSourcesIdResponseBody200Owner'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

PostCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress' 

Fields

Instances
Eq PostCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

Show PostCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

ToJSON PostCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

FromJSON PostCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

data PostCustomersCustomerSourcesIdResponseBody200Recipient'Variants Source #

Define the one-of schema PostCustomersCustomerSourcesIdResponseBody200Recipient'

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

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

Show PostCustomersCustomerSourcesIdResponseBody200Recipient'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

Generic PostCustomersCustomerSourcesIdResponseBody200Recipient'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

ToJSON PostCustomersCustomerSourcesIdResponseBody200Recipient'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

FromJSON PostCustomersCustomerSourcesIdResponseBody200Recipient'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

type Rep PostCustomersCustomerSourcesIdResponseBody200Recipient'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

type Rep PostCustomersCustomerSourcesIdResponseBody200Recipient'Variants = D1 (MetaData "PostCustomersCustomerSourcesIdResponseBody200Recipient'Variants" "StripeAPI.Operations.PostCustomersCustomerSourcesId" "stripeapi-0.1.0.0-A3hJyYFbMZN6w4qjBpK6b6" False) (C1 (MetaCons "PostCustomersCustomerSourcesIdResponseBody200Recipient'Recipient" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Recipient)) :+: C1 (MetaCons "PostCustomersCustomerSourcesIdResponseBody200Recipient'String" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)))

data PostCustomersCustomerSourcesIdResponseBody200Type' Source #

Defines the enum schema PostCustomersCustomerSourcesIdResponseBody200Type'

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

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

Show PostCustomersCustomerSourcesIdResponseBody200Type' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

ToJSON PostCustomersCustomerSourcesIdResponseBody200Type' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId

FromJSON PostCustomersCustomerSourcesIdResponseBody200Type' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSourcesId