The Google Pay Payments Merchant API is a REST API that enables platform integrators to register web merchants who want to offer [Google Pay on the web](https://developers.google.com/pay/api/web/overview.md.txt).

## What is a platform?


A platform (or platform integrator) is a service provider---such as an ecommerce platform or payment gateway---that enables web checkouts for multiple merchants.


Depending on how they provide their payment service, platforms are broadly categorized into:

- **Fully Managed (High Control)**: The platform hosts the website and fully controls the checkout experience on behalf of the merchant.
- **Component-Based (Shared Control)**: The platform provides plug-ins, SDKs, or drop-in components, while the merchant hosts and manages the checkout page.
- **Gateway-Only (Low Control)**: The platform provides APIs and backend integration without checkout UI components; merchants build and host their own custom checkout from scratch.


Integrating with the Payments Merchant API allows platforms to programmatically manage Google Pay configurations and enablements on behalf of all their onboarded merchants providing:

- **Reduced onboarding friction:**Merchants aren't required to set up a Google Pay \& Wallet Console account to request production access
- **Flexibility:**Enablement supports individual merchant domains or domains hosted by your platform.

## How it works


The Payments Merchant API provides REST endpoints to replace the manual process of merchants utilizing the Google Pay \& Wallet Console:

1. Create a merchant record
2. Record the merchant's Google Pay ToS acceptance
3. Enable the merchant
4. Create a web domain record to enable Google Pay API for that domain

## Get Started

1. To get started with the Payments Merchant API, [contact us](https://docs.google.com/forms/d/e/1FAIpQLSfnEO0GHgH8qRDQVfiskxbAT2yMGkuB8v972hjoMk86InDksg/viewform).
2. Follow the [Guides](https://developers.google.com/pay/merchant-api/guides/integration.md.txt) to integrate with the Payments Merchant API.
3. Once your integration is fully tested in the Sandbox, refer to [Getting Production Access](https://developers.google.com/pay/merchant-api/guides/prod_access.md.txt) to be enabled for Production.