#surgical
1 messages · Page 1 of 1 (latest)
Retrospectively, you can try listing sessions for a given payment_intent:
https://stripe.com/docs/api/checkout/sessions/list#list_checkout_sessions-payment_intent
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Forward looking, I suggest setting payment_intent_data[metadata] on your Checkout sessions if you want to track this
eg: payment_intent_data[metadata][created_by]='my_checkout_flow'