#sheriffoftiltover_api

1 messages · Page 1 of 1 (latest)

static bayBOT
#

👋 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.

elfin scaffold
#

Ah wait

#

that's right, this endpoint only returns payment methods for treasury flows

mental steppe
elfin scaffold
#

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.

mental steppe
#

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.

elfin scaffold