#erikshestopal_webhooks
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/1308866331227066490
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello! The differences between these Events are documented here: https://docs.stripe.com/api/events/types#event_types-payout.paid
It sounds like you want payout.paid for your purposes unless you're relying on our reporting/querying.
This doesn't help clarify the situtation ๐
Happy to answer more questions if you have them!
Which of these events typically happens first? Reconciliation?
I'm honestly not sure. I wouldn't count on either one happening first, the order is subject to change.
Ok, one followup - how can I test automatic payouts that trigger these events in a test environment?
๐ stepping in as Rubeus needed to step away
Unfortunately there is no way to trigger automatic payout events without just waiting until the automatic payout would occur on a daily basis. You can manually trigger the events via manual payouts.
Tried with a manual payout:
Stripe::InvalidRequestError: Balance transaction history can only be filtered on automatic transfers, not manual.
Ah yes that will be an issue as there are no balance transactions associated to a manual payout since it is an arbitrary amount so there is no direct mapping to balance transactions.
What are my options?
You either have to wait for the daily automatic payout or I believe our Support team can trigger these automatic payouts for you so you could reach out to them about this via https://support.stripe.com/contact/login
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
I believe we also already have an open feedback issue that this is a hard thing to test -- I can add on further feedback to that issue internally.
But yeah not a lot more I can do for you unfortunately.
How do I enable the automatic daily payouts? Clicking this link in the test environment redirects to the live environment for some reason.
Your settings are the same in test and live mode here for payouts and you control it via https://dashboard.stripe.com/settings/payouts
If you don't want this to affect your live account then I'd recommend creating a new account to just use for testing.
for some reason I haven't been seeing any automatic payouts since 2023
My org's live account has automatic payouts and I want to keep that - the problem is the test account hasn't been doing those automatic payouts like I mentioned.
pi_3QNIoiHDgd7YgnZu1v0xotld
Your account is on manual payouts so yeah you wouldn't have automatic payouts occurring.
Oh, I see. ๐
Hmm, take a look at po_1QEmuvHDgd7YgnZuizqTOSAx
I'm ABLE to look up the balance transactions for this payout.
Is it a manual payout?
Oh you are able to
Then that is expected... can you clarify the question here?
That was a debit of your external account
Due to a negative balance
If my account is on a manual payout schedule, how am I seeing automatic payout events
I see yeah because it is a debit
So that doesn't rely on your payout schedule. If your account balance is negative at the end of the day then a debit of your external account is attempted.
Regardless of your payout settings
Maybe I'm confusing something.
Since I have a platform + connect account setup, it seems that the connect accounts ARE on a automatic payout schedules, correct?
They very well could be, yes.
You set those individually
That doesn't rely on the setting you have on your platform account
got it - it's because we're using the transfer model - we charge on the platform account and then immediately transfer to the connect account.
Yep makes sense
So, the question then becomes, is there a way to listent for this payout events on individual connect accounts?
The business problem I'm trying to solve is when a payout occurs, I need to update a database with a timestamp of when that charge or refund is expected to be disbursed.
Not exactly. Connect Webhooks will always receive Webhooks from all of your Connected Accounts of that Event type but the Webhook also includes the Account ID so you would filter on your end for that if you only care about certain accounts.
Sure