#sweets8594
1 messages · Page 1 of 1 (latest)
Actually I'm using stripe.transfers.create
To make a transfer where I'm sending some id in the description
And stripe handle payout on it's own
For connect account
I want to know if there is any way to get that id in payout event also
When you say "payout event" what do you mean exactly?
Like you want to know the description that you passed when creating a Transfer when you receive a payout.paid Event?
The webhooks event payout.paid
Yeah the description I receive in payout event
Gotcha
Then you would have to work backward from the balance transactions in the Payout
So you would list the balance transactions for the Payout using https://stripe.com/docs/api/balance_transactions/list#balance_transaction_list-payout and when you do so you expand data.source.source_transfer