Enroll an entity to the Google Pay Service.
You must accept the Google terms of service to use this feature.
| entity_id required | string The unique identifier of the entity to enroll. |
| email_address required | string The email address of the user accepting the Google terms of service. |
| accept_terms_of_service required | boolean Indicates acceptance of the Google terms of service. Must be true to proceed with enrollment. |
Enrolled successfully.
Unauthorized.
Invalid request payload.
Internal server error.
{- "entity_id": "ent_uzm3uxtssvmuxnyrfdffcyjxeu",
- "email_address": "test@gmail.com",
- "accept_terms_of_service": true
}{- "tosAcceptedTime": "2014-10-02T15:01:23Z",
- "state": "ACTIVE"
}Associates a web domain with the specified enrolled entity.
Domain registered successfully (no content).
Unauthorized.
Entity not found.
Invalid domain format or missing parameter.
Internal server error.
{- "web_domain": "some.example.com"
}{- "error_codes": [
- "string"
], - "error_type": "invalid_request",
- "request_id": "string"
}Retrieves all web domains registered for the specified entity.
Successfully retrieved list of domains.
Unauthorized.
Entity was not found or no domains are registered.
Internal server error.
{- "domains": [
- "example.com"
]
}Returns the current enrollment state of an entity.
Successfully retrieved enrollment state.
Unauthorized.
Entity not found.
Internal server error.
{- "state": "ACTIVE"
}