There's the Payment Request API[1] which in theory allows you to use a single JS interface to declare a payment intent and your providers (so far only Apple Pay, Samsung Pay, and Google Pay are compatible). Though it is a single way of declaring your payment for multiple providers, you still need to subscribe to each provider individually and implement each specific post-authorization logic.
Because the browser manufacturers have their own centralized payment protocols (Google Pay, Apple Pay) that they would prefer you use so that they can surveil your habits and get a cut of the fees.
[1] https://developer.mozilla.org/docs/Web/API/Payment_Request_A...