Disclosed herein are systems, methods, and computer-readable storage devices for a new browser including multiple application
programming interfaces. A method includes receiving, from
a site, at a browser and via a first
application programming interface that defines a first protocol for communicating data between the browser and the site, a first
payment request associated with a potential purchase by a user, in response to the first
payment request and based on an identification of a
payment service, communicating, from the browser and via a second
application programming interface that defines a second protocol for communicating data between the browser and the payment service, a second payment request to the payment service, receiving, at the browser, from the payment service, via the second
application programming interface, authorized payment information and communicating, from the browser, to the site and via the first application
programming interface, the authorized payment information.