HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulestripeapi-3.0.0.0Haskell2010

StripeAPI.Operations.DeleteCouponsCoupon

Contains the different functions to run the operation deleteCouponsCoupon

  • 1 type
  • 1 value
  • Packagestripeapi-3.0.0.0
  • Exports2
  • LanguageHaskell2010
  • LicenceMIT
  • SourceDeleteCouponsCoupon.hs
valuedeleteCouponsCoupon
  1. :: MonadHTTP m
  2. => Text

    coupon | Constraints: Maximum length of 5000

  3. -> ClientT m (Response DeleteCouponsCouponResponse)

    Monadic computation which returns the result of the operation

#
DELETE /v1/coupons/{coupon}

<p>You can delete coupons via the <a href="https://dashboard.stripe.com/coupons">coupon management</a> page of the Stripe dashboard. However, deleting a coupon does not affect any customers who have already applied the coupon; it means that new customers can’t redeem the coupon. You can also delete coupons via the API.</p>

Represents a response of the operation deleteCouponsCoupon.

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

Constructors

Instances2Eq, Show