#Mahesh
1 messages · Page 1 of 1 (latest)
Hi there, once you receive the webhook event, you can pass the payment_intent's payment_method to the PaymentMethod retrieve API to get the PaymentMethod object. https://stripe.com/docs/api/payment_methods/retrieve#retrieve_payment_method
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Thanks, we are trying to migrate from charges API to payment Intents API
If we are using payment intents webhooks, do we still need to listen for charges webhooks? or we can ignore charges completely?
If your application just interests in payment results, then listening to payment_intent.succeeded and payment_intent.payment_failed are good enough.