#slowgen-payouts
1 messages ยท Page 1 of 1 (latest)
Yes you can. Our call for listing payouts allows you to filter on a few time stamps https://stripe.com/docs/api/payouts/list
Checking of the specifics listing them for Connected accounts
cheers
I normally do this $stripe->payouts->all(['limit' => 3], ['stripe_account' => 'acct_xxxx'])
How would I get that between two dates
๐
It should look something like $stripe->payouts->all(['limit' => 3], ['created' => ['gte' => start_date_stamp, 'lte' => end_date_stamp]]);
With the stripe_account param too, forgot to include it
unix timestamp?
Correct. Seconds since the unix epoch https://www.unixtimestamp.com/
You are using PHP right? Looks like the time library has functions to get the timestamp from a date https://www.php.net/manual/en/datetime.gettimestamp.php
Thank you Pompey more than enough help! I'll see how I go
So I passed 1630450800 as gte and 1633042799 as lte and the limit to 10 but I still see July and August payouts