stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.DeleteCustomersCustomer

Description

Contains the different functions to run the operation deleteCustomersCustomer

Synopsis

Documentation

deleteCustomersCustomer Source #

Arguments

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

The configuration to use in the request

-> String

customer | Constraints: Maximum length of 5000

-> DeleteCustomersCustomerRequestBody

The request body to send

-> m (Either HttpException (Response DeleteCustomersCustomerResponse))

Monad containing 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.