Coupons ​
A coupon contains information about a percent-off or amount-off discount you might want to apply to a customer. Coupons may be applied to subscriptions, invoices, checkout sessions, quotes, and more. Coupons do not work with conventional one-off charges or payment intents.
Endpoints ​
Create a coupon ​
- POST /v1/coupons
Update a coupon ​
- POST /v1/coupons/:id
Retrieve a coupon ​
- GET /v1/coupons/:id
List all coupons ​
- GET /v1/coupons
Delete a coupon ​
- DELETE /v1/coupons/:id
Events ​
coupon.createdOccurs whenever a coupon is created.coupon.deletedOccurs whenever a coupon is deleted.coupon.updatedOccurs whenever a coupon is updated.