#nca30

1 messages ยท Page 1 of 1 (latest)

fringe flameBOT
unkempt crag
#

Is this one time payments or subscriptions? Honestly not sure if either is easily listable in the API but am looking in to this

arctic moon
#

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

unkempt crag
#

Gotcha, checking in to this and will get back to you

arctic moon
#

Maybe is enough to find payments created from payment link

#

But I don't see some association in json between them

unkempt crag
#

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

arctic moon
#

Thank you, looks like something that can works ๐Ÿ™‚