#Max Sukhanov

1 messages ยท Page 1 of 1 (latest)

edgy eagleBOT
reef veldt
#

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
untold haven
#

The first

reef veldt
#

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.

untold haven
#

Okay, thank you so much!

reef veldt
#

Happy to help!