Manage your domain enrollments to process payments via Google Pay.
Manage your domain enrollments to process payments via Google Pay.
Enroll an entity to the Google Pay Service.
You must accept the Google terms of service to use this feature.
The unique identifier of the entity to enroll.
The email address of the user accepting the <a href=https://payments.developers.google.com/terms/sellertos>Google terms of service.
Indicates acceptance of the <a href=https://payments.developers.google.com/terms/sellertos>Google terms of service. Must be true to proceed with enrollment.
Unauthorized.
Internal server error.
curl 'https://{prefix}.api.checkout.com/googlepay/enrollments' \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"entity_id": "ent_uzm3uxtssvmuxnyrfdffcyjxeu",
"email_address": "test@gmail.com",
"accept_terms_of_service": true
}'
{
"merchant_id": "01234567890123456789",
"tos_accepted_time": "2014-10-02T15:01:23Z",
"state": "ACTIVE"
}Associates a web domain with the specified enrolled entity.
Unique identifier of the entity.
The web domain to register for an actively enrolled entity.
Domain registered successfully (no content).
Unauthorized.
Entity not found.
Internal server error.
curl 'https://{prefix}.api.checkout.com/googlepay/enrollments/{entity_id}/domain' \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"web_domain": "some.example.com"
}'
Retrieves all web domains registered for the specified entity.
Unique identifier of the entity.
Unauthorized.
Entity was not found or no domains are registered.
Internal server error.
curl 'https://{prefix}.api.checkout.com/googlepay/enrollments/{entity_id}/domains' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"domains": [
"example.com"
]
}Returns the current enrollment state of an entity.
Unique identifier of the entity.
Unauthorized.
Entity not found.
Internal server error.
curl 'https://{prefix}.api.checkout.com/googlepay/enrollments/{entity_id}/state' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"state": "ACTIVE"
}