#nca30
1 messages ยท Page 1 of 1 (latest)
Is this one time payments or subscriptions? Honestly not sure if either is easily listable in the API but am looking in to this
It is one time payment. My use case is that I need to find all payments for this product and set them metadata for automatic pairing at our system
Gotcha, checking in to this and will get back to you
Maybe is enough to find payments created from payment link
But I don't see some association in json between them
Yeah, the payment intents themselves won't have product/payment link info but the Checkout Sessions will. You can list Checkout Sessions by the payment link that created them so that sounds promising https://stripe.com/docs/api/checkout/sessions/list#list_checkout_sessions-payment_link
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Thank you, looks like something that can works ๐