Programmatically add card into Apple Pay in Safari browser

My website uses Stripe to issue physical and virtual credit cards.

Сan I use the javascript library to enable the user to add his new card to Apple Pay in Safari browser? (my javascript code will prompt the user on website to add a credit card to Apple Pay In Safari browser)

Replies

It is not possible to add cards into Apple Pay via JavaScript - however, your card issuer (in this case Stripe) can work with Apple to support web-based provisioning of their cards. Enquire with your issuer about whether they support this feature.