#andystevenson
1 messages · Page 1 of 1 (latest)
You could list all payment links: https://stripe.com/docs/api/payment_links/payment_links/list expanding line_items: https://stripe.com/docs/api/payment_links/payment_links/object#payment_link_object-line_items and then check each one's price in a loop
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Not really an easier way than that
Ouch. That's a lot of code for a simple lookup!
Yeah unfortunately there's not a way to filter links by price id
Thanks... Worse case scenario for me is I have 190 payment links to parse to find the price!
I guess I could create a payment session but seems like a big overhead for a single price!
Yeah up to you