# Hi unfortunately not with the PaymentIntents and Charges API's. If you use Stripe Checkout, you can accept discount codes for one-time payments