#surgical

1 messages · Page 1 of 1 (latest)

twin prawnBOT
lucid matrix
#

Hi there 👋 you can compare the amount on the Refund object with the amount that is stored on the Charge that was refunded (the ID of that Charge is stored in the charge field on the Refund). If they match then you know it's a full refund, and otherwise it was a partial.

whole osprey
#

thank you @lucid matrix , one more question is there a way to know if the refund was done manually through the stripe dashboard?

#

versus one that was done through our system via api

lucid matrix
#

Not from the Refund object.

#

You'll need to locate the request that created the Refund via your request logs in the Stripe dashboard. On the request there will be a field named Source that will indicate whether the request came from one of our API libraries or from the dashboard.

whole osprey
#

okay, thank you!

lucid matrix
#

Happy to help!