#aaronk_72176

1 messages · Page 1 of 1 (latest)

visual heronBOT
covert marten
#

Hi there

#

Looking into whether you can expand this via stripe.js w/ the publishable key

#

Oh yeah see you linked ^ my bad

#

So no, we don't support expansion for retireve payment intent with the publishable key

#

Just verified

cedar mesa
#

got it, is it possible to get the associated payment method another way?

covert marten
#

You can make a call to your server, where you can retrieve the payment method

cedar mesa
#

what is the recommendation from stripe regarding whether to expose a public route that takes in payment intent id or client secret?

covert marten
#

We don't have any such recommendation

#

You should use proper authentication with your apis though

#

Security is up to you

cedar mesa
#

is payment method considered public information? Given that the id is exposed via stripe publishable key

covert marten
#

The id itself isn't considered sensitive

cedar mesa
#

ah, but the nested data could be?

covert marten
#

Yeah it can contain billing address of customer, etc