#lucasgerroir - transaction status
1 messages · Page 1 of 1 (latest)
So you want to be able to map payments to payouts essentially? Or are you just trying to track the lifecycle of a payment?
The goal is so the connect account user can see that the payment for their invoice is pending, failed or completed (this has already been done). I would like to provide the payout status because the connect account user currently does not know the status of it. So if its created/pending, in transit and deposited. So they know when to expect a payment in their account and how much money they have in their connect account balance
I was just going to change our current transaction status to relflect the payout lifecycle as well as the payment but does not seem easy to accomplish using webhooks
Okay, so it sounds like you're talking about transfers from your platform account balance, to your connected accounts balance. Payouts are made from a Stripe account balance to an external bank.
Assuming the above: can you elaborate on what you're trying to do here? Do you want to surface the account balance to your connected accounts? Do you want to surface transfer information? etc.
essentially I want to create a very simple version of the attached screenshot inside our application's dashboard. Balance total, a list of payments and payouts.
I was going to combine the payment and payout tabs into one transaction list / entity and the status would reflect whether its a payment or payout and the corresponding status
stepping in here, give me a minute please
np
You can list the payout, https://stripe.com/docs/api/payouts/list and use the List Balance Transactions API, https://stripe.com/docs/expand/use-cases#charges-in-payout and pass the payout parameter to see what transactions are bundled in a given Payout. This appears to be solve what you're looking for. Let me know if it's what you are looking for.
to retrieve payouts for a specific connect account I guess destination would be the param to use?
That is correct