#raimund_payout-balance
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1303841472239632499
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- raimund_webhooks, 1 day ago, 11 messages
- raimund_api, 1 day ago, 10 messages
- raimund_api, 5 days ago, 43 messages
raimund_payout-balance
@pallid saddle I recommend https://docs.stripe.com/payouts/reconciliation which explains exactly how to reconcile the transactions in a Payout
Sorry, that's not quite what I'm asking.
Normally, users trigger payouts through our platform. When we receive the respective webhooks, we can link them to the payouts that we initiated ourselves.
However, this one was triggered inside Stripe directly. How are we supposed to know which account it links to?
What does that mean "this one was triggered inside Stripe directly"?
Probably through your UI rather than an API call like we usually do.
We've got this occasionally. It's typically due to user errors on our end.
We then help the users by triggering a payout directly in the Stripe UI. We also do receive the balance updates at some point, but the payout events themselves still trigger 404 errors.
Okay so someone is manually saying "Please create a Payout for $100" in the Dashboard. And you want to know "what is bundled in that Payout" is that correct?
If so: that's just impossible. We don't know what's bundled. They had a balance and sent a portion of the funds manually. They don't tell us "payout the payment 1 2 and 3 and the refund 7 and 9" they just give us an amount. So it's impossible to reconcile what funds this maps to
No, I want to know who did it.
The event only contains the destination ID (bank account/card). But it doesn't tell me which connect account it is.
Ah gotcha, sorry, definitely misunderstood this completely
No worries, I probably didn't explain it too well.
So the Event you shared is a payout.updated Event. This happens automatically, it's not triggered by anyone doing something by hand.
But you are not asking who did this and instead you are asking what connected account acct_1234 is associated with that Event/Payout I am receiving? right?
In that case, this works the same for all Events. The Event has the account property https://docs.stripe.com/api/events/object#event_object-account when it is sent to a Connect WebhookEndpoint. So if you look at that Event when you receive it, it will have account: 'acct_12345'
Does that make sense?
I'm looking at the event in the logs, and it doesn't seem to hace that attribute.
{
"object": {
"id": "po_1QFV0pPZ7QvwDa3JRHF5V0jq",
"object": "payout",
"amount": 2500,
"application_fee": null,
"application_fee_amount": null,
"arrival_date": 1730332800,
"automatic": true,
"balance_transaction": "txn_1QFV0vPZ7QvwDa3JNZF8F1B6",
"created": 1730268251,
"currency": "usd",
"description": "STRIPE PAYOUT",
"destination": "ba_1P81xdPZ7QvwDa3JoAqpcoNj",
"failure_balance_transaction": null,
"failure_code": null,
"failure_message": null,
"livemode": true,
"metadata": {},
"method": "standard",
"original_payout": null,
"reconciliation_status": "completed",
"reversed_by": null,
"source_type": "card",
"statement_descriptor": "Notch Sports LLC",
"status": "paid",
"trace_id": {
"status": "supported",
"value": "111000029740414"
},
"type": "bank_account"
},
"previous_attributes": {
"trace_id": {
"status": "pending",
"value": null
}
}
}
The ID for the corresponding created event is evt_1QFV5mPZ7QvwDa3JSEfwpcJl. I don't see any account attribute in there either.
I'm looking at the event in the logs
what does that mean? What logs? Where are you looking exactly?
The Webhooks view in the Stripe developer console.
Okay that just shows you the internal of the Event itself inside data so that just doesn't work. Look at the real Event you receive on your WebhookEndpoint in your code and it will be there