POST

Remove Coupon


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Removes an applied coupon from a join application's payment order.

The join application must have a prepared payment order with a coupon applied, and paymentStatus must be PAYMENT_IN_PROGRESS, PAYMENT_FAILED, or PAYMENT_CANCELED. The last two let a member clear a coupon when retrying after a failed or canceled payment.

Returns the order total after the coupon is removed.

To apply a coupon, call Apply Coupon.

Permissions
Manage Online Programs
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/online-programs/participants/v3/join-applications/{joinApplicationId}/remove-coupon

Errors
428Failed Precondition

There are 3 errors with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?