#nickderobertis
1 messages · Page 1 of 1 (latest)
Hi there
So there is no real way to do this by default. What you would want to do is instead set metadata on the PaymentIntent when you process it via your app and then that metadata will come through the webhook.
If it isn't present then you know it came via the Dashboard
Ahh ok that makes sense, thanks. Do we set that metadata when creating or confirming the payment intent?
Looks like create? https://stripe.com/docs/api/payment_intents/create#create_payment_intent-metadata
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yep on creation
Great, thanks for your help! This should work well.