Before starting your UCP checkout service setup, ensure you have completed the service provider and test account setup and selected a test merchant account for your integration.
To complete your UCP checkout service setup before requesting sandbox testing enablement, perform the following steps:
- Implement UCP checkout endpoints and order webhooks
- Create and host the merchant UCP profile
- Prepare for account relationship handshakes
Implement UCP checkout endpoints and order webhooks
Implement the standard UCP REST APIs on the merchant's backend platform:
- Checkout Endpoints:
- Follow the UCP checkout native checkout guide to implement the three core REST endpoints for session creation, pricing and shipping updates, and transaction completion.
- Order Lifecycle Webhooks:
- Follow the UCP Order Integration Guide to handle order state changes, cancellations, and fulfillment tracking.
Create and host the merchant UCP profile
After implementing checkout endpoints, create and deploy a UCP technical profile for the merchant on their domain:
- Construct the Technical Profile:
- Generate the merchant's UCP JSON profile declaring supported payment methods, checkout endpoint URLs, and public signing keys.
- For schema specifications and structure details, see the UCP Profile Guide.
- Host the Profile on the Merchant Domain:
- Host the generated profile at the standardized
.well-knownpath on the merchant's store domain:https://{MERCHANT_DOMAIN}/.well-known/ucp - Ensure this endpoint is publicly accessible over HTTPS and returns a
valid
application/jsonpayload.
- Host the generated profile at the standardized
Prepare for account relationship handshakes
When a merchant links their Merchant Center account to your platform, Google
creates a service proposal (
accounts.services.propose
) that your backend must
receive and approve (
accounts.services.approve
).
To receive the proposal ID during the handshake, implement at least one of the following delivery mechanisms:
- Redirect callback URI (Recommended): Host an HTTPS endpoint to receive the proposal ID and merchant details through URL query parameters when Google redirects the merchant back to your portal. For query parameter details, see the Redirect callback specification.
- Push notifications: Subscribe to
ACCOUNT_SERVICE_CHANGEwebhook events using the Merchant API to receive asynchronous proposal updates. To set up push notifications, see Subscribe to push notifications.
Next steps
After completing setup, proceed to Integration testing enablement request.