#Mint

1 messages · Page 1 of 1 (latest)

pure doveBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

  • Mint, 20 hours ago, 12 messages
rapid fox
empty thistle
#

If I refund via API (stripe.refund.create) instead of do it via Stripe Dashboard. Does the webhook receive the charge.refunded event?

rapid fox
#

Yes should be the same. You can test it in Test mode

empty thistle
#

Thanks. let me try

#

Is there a way that I can retrieve the refund object when webhook receive the charge.refunded event?

#

I create a metadata in the refund object to know If i refund in Dashboard or through API. So I need to know it by the webhook

rapid fox
#

Yes! charge.refunded is a Charge object. You can then perform a Retrieve Charge API and expand its refund property to have the full Refund object inside