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

Response message for Verifications.CompleteVerificationAction.

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

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.