#devil_api
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/1262728793362141247
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
basically: in this:
limit: 100
})
return res.data
can I add created: { gte: SOME_DATE }
because it doesn't retrieve them? or is my syntax wrong?
No, that endpoint doesn't support created parameters: https://docs.stripe.com/api/disputes/list
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
any plan to add it in near future?
Not that I'm aware of right now. Will file your request/feedback
what does the "ending_before" do tho?
limit is limit, starting_after is like skip
i dont understand the ending_Before one
It's a pagination parameter: https://docs.stripe.com/api/pagination
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
What are you showing me?
Hmm, maybe the types on that library are wrong?
Looking at the API ref and the code internally I don't think it'd work, but try! The parameters would just be discarded, not error (which maps with the behaviour you're seeing)
Interestingly it is typed: https://github.com/stripe/stripe-node/blob/master/types/DisputesResource.d.ts#L179
And I checked and it is supported, just undocumented
And your code looks ok, so let's start again What's not working?
maybe it was a syntax error, i got on vim because i was on a non language support editor
so probaaaaaaaably, i was typing it wrong
I'll fix the docs so it's listed on the API ref