#Mint
1 messages · Page 1 of 1 (latest)
You can visit Logs Dashboard, and filter the source
I mean in code. Can we check if a refund is created in Stripe Dashboard by admin?
By webhook I think
My flow is when admin refund via Stripe Dashboard. I need to cancel the transaction in my system by webhook
You can consider adding a metadata (https://stripe.com/docs/api/refunds/create#create_refund-metadata) when creating a refund from API.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
So when you receive the webhook event, you can check its metadata to tell if it's created through API