How to set pay with a like like a cupon on a checkout?

Hi,

I want to set a discount amount in the checkout it they give a like?

how to do it?

Thanks