Update your Google Business Profile API integration before critical endpoints are disabled. Review the deprecation schedule and instructions to avoid disruptions starting in April 2022.
The Business Profile Performance API is now launched! Migration work is required.

Method: locations.verifications.complete

Completes a PENDING verification.

It is only necessary for non AUTO verification methods. AUTO verification request is instantly VERIFIED upon creation.

HTTP request

POST https://mybusinessverifications.googleapis.com/v1/{name=locations/*/verifications/*}:complete

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Resource name of the verification to complete.

Request body

The request body contains data with the following structure:

JSON representation
{
  "pin": string
}
Fields
pin

string

Required. PIN code received by the merchant to complete the verification.

Response body

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

Response message for Verifications.CompleteVerificationAction.

JSON representation
{
  "verification": {
    object (Verification)
  }
}
Fields
verification

object (Verification)

The completed verification.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/business.manage

For more information, see the OAuth 2.0 Overview.