#Max Sukhanov
1 messages ยท Page 1 of 1 (latest)
HI there ๐
Just to clarify, which of the following is what you're looking for?
- A way to tell whether a refund was created from the Stripe dashboard or an API request
or
- A way, from either the API or the dashboard, to get more information about a refund
The first
Gotcha.
You can't check anything directly in the Event to know that, but you can find the ID of the request that triggered the Event in the request.id field:
https://stripe.com/docs/api/events/object#event_object-request-id
You can then look then find the log of that request in your Stripe dashboard, where there will be a source field indicating whether it came from the dashboard or the 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.
Okay, thank you so much!
Happy to help!