#KEITH LARD

1 messages ยท Page 1 of 1 (latest)

hallow bronzeBOT
crystal wave
#

Hello ๐Ÿ‘‹
Do you have an example refund you're looking at?
Just want to make sure I am on the same page

grave kestrel
#

Ye, would you like an event id?

crystal wave
#

Sure

grave kestrel
#

evt_3N92QNAjtNFaRAYo1UxMOqWU

#

This for example was refunded 50p

#

but amount_refunded is a rolling total off all refunds on the charge (which makes sense), I'm just trying to figure how to get that 50p figure to store each refund in my database. Rather than the total

crystal wave
#

Maybe listen to refund.created instead?

grave kestrel
#

Does that send a webhook response?

#

I can't seem to find it

#

Just charge.refunded

crystal wave
#

Ah my bad, I think that event is only generated if a refund is created from customer's cash balance..

Hmm thinking...

grave kestrel
#

Cool thank you I will have a look ๐Ÿ™‚