#felipeabreu
1 messages · Page 1 of 1 (latest)
Hey, I suggested earlier that webhooks behave in a "push" mode, rather than "pull", so I am not sure I understand your use case. Could you please share more context on how exactly are you trying to do this?
Could you maybe share an example PaymentIntent ID? pi_xxx
Yes, I will send here how I receive this information.
But is there any other way without being a webhook that I was able to pull this information from UTM?
You can list all PaymentIntents here: https://stripe.com/docs/api/payment_intents/list
"payment_intent": "pi_3NhWlTAwTteQojBS2AP1NH63",
"payment_method": "pm_1NhWlTAwTteQojBSS36YKLtS",
Was that what he needed?,
I actually don't think it's saved anywhere in Stripe, it just redirects the customer back to your site with the UTM parameters, so you can save it yourself: https://stripe.com/docs/payment-links/url-parameters
client_reference_id is saved though, you can retrieve it from the Checkout Session: https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-client_reference_id
Are you with me?