#siddarth_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/1338805719683694645
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
You can increase the limit: 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.
To return more than 10 records per response
I mean, I am using this below code var setupIntentService = new SetupIntentService();
var setupIntentResult = setupIntentService.List()?.FirstOrDefault(si =>
si.PaymentMethodId == "pm_tokenvalue") what if my setupintentservice is not returned in the list. even though it is created. Basically I want to get the SetupIntentService() based on the PaymentMethodId
What's the pm_xxx ID?
If that API doesn't return a Setup Intent then that would imply the Payment Method wasn't generated via a Setup Intent
I have generated pm_xxx and i have more than 100 users and created pm for all these users which is recurring. Now I am checking if this is available or not
OK, so can you share an example pm_xxx that you're using in that API call that doesn't return a Setup Intent like you expect? I need an example
pm_1Qqyc1AGbPj5wN7hCa6KYjQb
That wasn't created via a Setup Intent: https://dashboard.stripe.com/test/logs/req_GHVtlvUw8NzTEt
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
So seems expected that the API call would return zero results
pm_1QRp0VAGbPj5wN7hatSDilZs
Same for that one: https://dashboard.stripe.com/test/logs/req_AEg1hBzhK1wg2W
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
My requirement is I want to get the SetupIntentService() based on the PaymentMethodId, how can I achieve this
You mean you want to fetch a SetupIntent object based on the associated PaymentMethod object?
Yes correct