#lexit_api

1 messages ยท Page 1 of 1 (latest)

obtuse estuaryBOT
teal vectorBOT
#

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.

obtuse estuaryBOT
#

๐Ÿ‘‹ 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/1271488569608769556

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

golden citrus
#

payouts = stripe.Payout.search( query=query, limit=limit, stripe_account=account.stripe_account_id )

This does not work for Payouts I have previously implemented something similar for charges using search endpoint.

#

And the list endpoint does not allow status filtering. So how can I filter only scheduled payouts or suceeded payouts?

teal vectorBOT
daring violet
#

Hi ๐Ÿ‘‹ can you elaborate a bit, because I don't see scheduled listed as a valid value for the status enum for Payout objects:
https://docs.stripe.com/api/payouts/object#payout_object-status

And status is a supported filter parameter for listing Payout objects:
https://docs.stripe.com/api/payouts/list#list_payouts-status

golden citrus
#

I mean 'pending'

#

Sorry for the confusion.

#

So I can filter for pending with list filter?

daring violet
#

Yup

golden citrus
#

Thats confusing from stripe as in Charges I couldn't

#

Thank you however makes sense now.