Displaying discounted price after applying a coupon before booking/checkout

I have looked through the Corvid API and can’t a way to apply a coupon code before proceeding to payment? How do I displaying the discounted price to the site visitor before checkout?

If you are using Wix Stores then you can already do that.
https://support.wix.com/en/wix-stores/managing-coupons

The same with Wix Bookings.
https://support.wix.com/en/article/creating-discount-coupons-in-wix-bookings

Thanks for the reply. I am using Wix Bookings but on a page I coded (instead of the app given by Wix). What is the API call to apply the coupon to the service price?

Try having a look at the Wix Bookings api itself as you have the payment options section there.
https://www.wix.com/corvid/reference/wix-bookings.html#PaymentOptions

Also, check out Wix Pay.
https://www.wix.com/corvid/reference/wix-pay.html

PaymentOptions is how I am implementing the discount at the moment but at the checkout stage, it is too late in the checkout process. Like the Wix app, I want to give customers to check the discounted price before checking out.

The only time the PaymentOptions is used in the API is with checkoutBooking()? I must be missing something here.

I am looking for a client function that simply apply the coupon code and return the discounted price? Otherwise please suggest how this can be implemented.

Thanks.

@givemeawhisky
Neither of the two links include information of how to apply Coupon to the booking with Corvid. Do you have any update on this? Thanks.

@esennin
I need this option too. Did you find it?