#nickjw
1 messages · Page 1 of 1 (latest)
hello @peak inlet! To clarify, are you trying to estimate when you should create payouts?
Hey Alex. No i'm calling querying this API endpoint (https://stripe.com/docs/api/payouts/list) during an hourly sync and want to pass in a 'created' param into the endpoint with a reasonable date. For instance, if the maximum number of days it takes it for an update to the Payout 'status' field (say from 'in_transit' to 'paid') is 7 days, then I can pass in the 'created' param with a timestamp of 7 days ago to reduce the time it takes to do this Payout sync. That make sense?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
@peak inlet i think i'm a bit baffled over why would you want to pass in a created param to sync. If you need to know when the payout changes to paid, listening to the payout.paid event would inform you when it shifts to paid
To my knowledge we don't get these webhooks for connect standard accounts
hmmmm, onesec, let me see if i can verify the behaviour
i'm getting a payout.created and payout.paid for my Standard connected account. I assume that you've created a webhook to listen to connected account events. Maybe you can also test and see on your own accounts as well?
Yep the webhook is listening for connect accounts
I'll try and figure out what's wrong with the webhook. In the meantime can you tell me a reasonable maximum timeframe for payouts to change status? is it 2 days? or 5? or 7? thanks!
are your connected accounts all based in the US?
hmmm, i think 5 days should be fine
yep the vast majority are in the US
i see in the logs that it says the payout.paid event is hitting our webhook endpoint successfuly. Not seeing it in our logs though but maybe something on our end
aaaah! but it's great that you're receiving it at least, like you mentioned, maybe some logic that needs to be tweaked
Thanks for your help here! I'll make a note to investigate the endpoint
glad to help! feel free to reach out again if you're having trouble 😄