#sheriffoftiltover_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/1262845126783402108
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello You mean this endpoint returns nothing?
https://docs.stripe.com/api/payment_methods/list
Ah wait
that's right, this endpoint only returns payment methods for treasury flows
I am referring to this one https://docs.stripe.com/api/payment_methods/list yes. It works when passing a customer id, but otherwise it returns an empty response
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yeah like I mentioned above, it only returns payment methods for treasury flows (unless you pass a customer)
https://docs.stripe.com/api/payment_methods/list
Returns a list of PaymentMethods for Treasury flows. If you want to list the PaymentMethods attached to a Customer for payments, you should use the List a Customer’s PaymentMethods API instead.
Okay then. Alternatively, is there a way to fetch a full CSV of converted payment methods from the "Convert existing saved Sources to PaymentMethods" tool as it looks to only give us the ones converted per each run.
If not, can you tell me what the rate limit is for the API as looping over every customer and every payment method is very slow with the way that pagination works and I would like to batch and parallelize my requests without hitting rate limits.
We have the rate limits listed here: https://docs.stripe.com/rate-limits
100 read ops for live mode