Coupons created in Stripe are not supported while using the Payment Intents API.
To implement a coupon or discount structure with Payment Intents, you will need to script logic on your backend to adjust the amount that is passed through the amount
parameter to reflect the reduction when the Payment Intent is created.