#jacob_api

1 messages ¡ Page 1 of 1 (latest)

sharp rampartBOT
#

👋 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/1240040233093959691

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

hallow fable
midnight cobalt
#

I should mention, I am currently using charge.metadata.restaurant_id to filter. Ideally, I could filter using a query param

#

Yes, even bumping the limit to 100 would still take about 60 seconds to get just the last 1.5 months of disputes for a client.

#

@hallow fable Is it not possible to filter the results at all?

hallow fable
#

filtering by what parameters exactly?

#

I'm not sure I fully understand the question. Specifically the part about what field you want to use to filter the disputes?

sharp rampartBOT
midnight cobalt
#

@hallow fable I would like to filter disputes by charge.metadata.restaurant_id

#

Ideally, something similar to /v1/disputes?limit=100&expand[]=data.charge&data.charge.metadata.restaurant_id=650c9c43d73592bc0e0bd537

hallow fable
#

Ah actually