#ironbeard-webhook

1 messages · Page 1 of 1 (latest)

gilded frost
#

Hi! I'm not sure I understand your question. Could you clarify what you are trying to achieve?
FYI there's no events for balance transaction, but there are for refunds, for example charge.refunded.

stray loom
#

I am mirroring some Stripe models locally, and I thought that Refund's had associated BalanceTransactions, so when a user creates a Refund in my backend, I was using the Python API to create the Refund on Stripe's servers and also creating the associated BalanceTransaction there (via expand=['balance_transactiom']), but I was hoping there was a way to defer the balance_transaction creation to webhooks

#

Actually, I suppose I could listen for charge.refunded and then retrieve the associated BalanceTransaction there.

gilded frost
#

I could listen for charge.refunded and then retrieve the associated BalanceTransaction there.
Sorry for the delay. Yes, that's should work!

stray loom
#

No worries, I think I'm good here. Thanks for the help!

#

Oh! One more question while I've got you here if you don't mind:

#

Actually, nevermind: I can figure it out in python shell. Okay! Have a great day!

narrow star
#

Np!