stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostPaymentMethodsPaymentMethodDetach

Description

Contains the different functions to run the operation postPaymentMethodsPaymentMethodDetach

Synopsis

Documentation

postPaymentMethodsPaymentMethodDetach Source #

Arguments

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

The configuration to use in the request

-> String

payment_method | Constraints: Maximum length of 5000

-> PostPaymentMethodsPaymentMethodDetachRequestBody

The request body to send

-> m (Either HttpException (Response PostPaymentMethodsPaymentMethodDetachResponse))

Monad containing the result of the operation

POST /v1/payment_methods/{payment_method}/detach

<p>Detaches a PaymentMethod object from a Customer.</p>

data PostPaymentMethodsPaymentMethodDetachRequestBody Source #

Defines the data type for the schema postPaymentMethodsPaymentMethodDetachRequestBody

Constructors

PostPaymentMethodsPaymentMethodDetachRequestBody 

Fields

Instances
Eq PostPaymentMethodsPaymentMethodDetachRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.PostPaymentMethodsPaymentMethodDetach

Show PostPaymentMethodsPaymentMethodDetachRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.PostPaymentMethodsPaymentMethodDetach

ToJSON PostPaymentMethodsPaymentMethodDetachRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.PostPaymentMethodsPaymentMethodDetach

FromJSON PostPaymentMethodsPaymentMethodDetachRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.PostPaymentMethodsPaymentMethodDetach