#Faims-webhooks

1 messages · Page 1 of 1 (latest)

pulsar karma
#

👋 Can you elaborate on what you mean by "apply the payout id"? What information do you need in a webhook event to get what you're after?

shadow venture
#

So when a payout is created the transaction in Stripe is updated to say with payout id along the lines of po_12345etc

#

I'm trying to help my finance team reconcile

pulsar karma
#

OK. Do you mean you get a Payout event and you need to find the Charges (or PaymentIntents) that were a part of that Payout?

shadow venture
#

Well the payout event helps but I've struggled with how to capture that webhook and find all related transactions

#

I went with charge.updated which adding a payout Id clearly doesn't trigger

pulsar karma
#

You may be looking for the API endpoint to list BalanceTransactions by a specific payout (https://stripe.com/docs/api/balance_transactions/list#balance_transaction_list-payout). You'd take the Payout ID and use it there to get all the Charges. That doesn't have an event for a webhook to watch for.

shadow venture
#

I'm trying to avoid devs if we can (charity) but it sounds like that's not possible

#

thanks for trying to help though

pulsar karma
#

Yeah there isn't a field on Charges that gets updated to show the Payout. It's purely an API list thing.

shadow venture
#

Ok, I did think that may be the case but I appreciate your help