stripeapi-1.0.0.0: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.DeleteSubscriptionsSubscriptionExposedIdDiscount

Description

Contains the different functions to run the operation deleteSubscriptionsSubscriptionExposedIdDiscount

Synopsis

Documentation

deleteSubscriptionsSubscriptionExposedIdDiscount Source #

Arguments

:: forall m. MonadHTTP m 
=> Text

subscription_exposed_id | Constraints: Maximum length of 5000

-> StripeT m (Response DeleteSubscriptionsSubscriptionExposedIdDiscountResponse)

Monadic computation which returns the result of the operation

DELETE /v1/subscriptions/{subscription_exposed_id}/discount

<p>Removes the currently applied discount on a subscription.</p>

data DeleteSubscriptionsSubscriptionExposedIdDiscountResponse Source #

Represents a response of the operation deleteSubscriptionsSubscriptionExposedIdDiscount.

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), DeleteSubscriptionsSubscriptionExposedIdDiscountResponseError is used.