#rabeatz89
1 messages · Page 1 of 1 (latest)
Hello! Webhooks are recommended, but you could also poll the API to check on the status of the Payment Intent: https://stripe.com/docs/api/payment_intents/retrieve
Thanks! What is the benefit of using webhooks over API?
Polling the API is generally not a good idea, it's inefficient and if you do it a lot you can start to hit rate limits. A webhook will push Events from Stripe to your server as they happen, which is a much more optimized way to handle something like this.