stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostPaymentMethodsPaymentMethodDetach

Description

Contains the different functions to run the operation postPaymentMethodsPaymentMethodDetach

Synopsis

Documentation

postPaymentMethodsPaymentMethodDetach Source #

Arguments

:: forall m. MonadHTTP m 
=> Text

payment_method | Constraints: Maximum length of 5000

-> Maybe PostPaymentMethodsPaymentMethodDetachRequestBody

The request body to send

-> ClientT m (Response PostPaymentMethodsPaymentMethodDetachResponse)

Monadic computation which returns 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 object schema located at paths./v1/payment_methods/{payment_method}/detach.POST.requestBody.content.application/x-www-form-urlencoded.schema in the specification.

Constructors

PostPaymentMethodsPaymentMethodDetachRequestBody 

Fields

Instances

Instances details
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