Method: accounts.getAccountForGcpRegistration

Retrieves the merchant account that the calling GCP is registered with.

HTTP request

GET https://merchantapi.googleapis.com/accounts/v1/accounts:getAccountForGcpRegistration

The URL uses gRPC Transcoding syntax.

Request body

The request body must be empty.

Response body

Response message for the accounts.getAccountForGcpRegistration method.

If successful, the response body contains data with the following structure:

JSON representation
{
  "name": string
}
Fields
name

string

The name of the merchant account id that the GCP is registered with.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/content

For more information, see the OAuth 2.0 Overview.