Skip to main content

Documentación

Coupon

Defines a discount on charges to the customer.

The coupon can be applied to the following objects:

A coupon can be applied to one or more customers or subscriptions. However, a subscription can have only one coupon, and the only way to assign two or more coupons to a customer is to assign them to separate subscriptions.

If there is a coupon for the customer and another coupon for the customer's subscription, the subscription coupon takes precedence.

Nota

  • For defining the discount, you must choose either a percentage or a fixed amount.

  • The validity of a discount can extend beyond the validity of the coupon it is based on.

You cannot update a coupon after it is created, except for the client-defined metadata. However, you can switch from one coupon to another when you update a customer or subscription. See Update Customer and Update Subscription.

Coupon Methods

Coupon Error Messages