Safari supports two JavaScript APIs that let you accept Apple Pay payments from customers on your website: Apple Pay JS, and the W3C Payment Request API. The Apple Pay JS API is analogous to the PassKit (Apple Pay and Wallet) framework, used for Apple Pay in apps. The Payment Request API is a W3C candidate API.
https://www.w3.org/TR/payment-request/
And Apple implements it.
https://developer.apple.com/documentation/apple_pay_on_the_w...
Safari supports two JavaScript APIs that let you accept Apple Pay payments from customers on your website: Apple Pay JS, and the W3C Payment Request API. The Apple Pay JS API is analogous to the PassKit (Apple Pay and Wallet) framework, used for Apple Pay in apps. The Payment Request API is a W3C candidate API.
It seems to be supported across all browsers.
https://stripe.com/docs/stripe-js/reference