stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.DeleteCustomersCustomer

Description

Contains the different functions to run the operation deleteCustomersCustomer

Synopsis

Documentation

deleteCustomersCustomer Source #

Arguments

:: forall m. MonadHTTP m 
=> Text

customer | Constraints: Maximum length of 5000

-> ClientT m (Response DeleteCustomersCustomerResponse)

Monadic computation which returns the result of the operation

DELETE /v1/customers/{customer}

<p>Permanently deletes a customer. It cannot be undone. Also immediately cancels any active subscriptions on the customer.</p>

data DeleteCustomersCustomerResponse Source #

Represents a response of the operation deleteCustomersCustomer.

The response constructor is chosen by the status code of the response. If no case matches (no specific case for the response code, no range case, no default case), DeleteCustomersCustomerResponseError is used.

Constructors

DeleteCustomersCustomerResponseError String

Means either no matching case available or a parse error

DeleteCustomersCustomerResponse200 DeletedCustomer

Successful response.

DeleteCustomersCustomerResponseDefault Error

Error response.