#aaronk_72176
1 messages · Page 1 of 1 (latest)
Hi there
Looking into whether you can expand this via stripe.js w/ the publishable key
What's the exact function call you're making? Is it this? https://stripe.com/docs/js/payment_intents/retrieve_payment_intent
Oh yeah see you linked ^ my bad
So no, we don't support expansion for retireve payment intent with the publishable key
Just verified
got it, is it possible to get the associated payment method another way?
You can make a call to your server, where you can retrieve the payment method
what is the recommendation from stripe regarding whether to expose a public route that takes in payment intent id or client secret?
We don't have any such recommendation
You should use proper authentication with your apis though
Security is up to you
is payment method considered public information? Given that the id is exposed via stripe publishable key
The id itself isn't considered sensitive
ah, but the nested data could be?
Yeah it can contain billing address of customer, etc