#ndbtss_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/1318478205459365919
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
You can associate anything with the metadata on PaymentIntent object. When you call Retrieve PaymentIntent, you can see the metadata you set
Hi,
Thank you for your response, but I think there is a misunderstanding. I am aware that I can use metadata to attach custom information, like my own customer IDs, to a PaymentIntent. However, my issue is that Stripe does not allow me to sort or filter PaymentIntents based on metadata.
What I need is the ability to see a list of PaymentIntents (for example, in the Stripe Dashboard or through the API) and directly identify which of my customers they belong to, using my custom IDs. With metadata, I still have to open each individual PaymentIntent to check the data, which is not scalable for me.
Is there any way to:
Filter or sort PaymentIntents by a custom identifier I provide (e.g., my own customer ID)?
Avoid having to create Stripe customers (cus_xxxx) just to tie PaymentIntents to my internal IDs?
If metadata cannot achieve this, is there another solution or workaround?
Thank you for your time!
Yeah you can call Search Payment Intent API https://docs.stripe.com/api/payment_intents/search and it allow forming a query using metadata (See more at https://docs.stripe.com/search#query-fields-for-payment-intents)
and there is no option to do this in stripe web dashboard? to create a filter by a metadata
You can use the Search bar (but it only to display, not for exporting and download)
I think if you use Sigma, you can create a custom query and generate a custom report
https://docs.stripe.com/dashboard/search#metadata-searches for Search bar on metadata
https://docs.stripe.com/stripe-data/access-data-in-dashboard#opening-a-financial-report-in-sigma for Sigma custom report