Coupons

Delete a coupon. Requires the coupons:write scope. The coupon is deactivated and kept for the payments that used it, but it no longer appears in the list, GET returns 404, and its code can be used by a new coupon. A payment that already holds the coupon keeps its discount.

delete/v1/coupons/{couponId}

Request

Path parameters

couponIdstring uuid required

The coupon ID.

Response

Coupon deleted.

messagestring

Changes