AI-generated Key Takeaways
-
This document explains how to complete a pending verification for a business using the Google My Business Verifications API.
-
The process involves sending a POST request to a specific endpoint with the verification's resource name and a PIN code.
-
The request body requires a JSON object containing the PIN received by the merchant.
-
A successful response will contain the completed verification details in the response body.
-
Authorization requires the
https://www.googleapis.com/auth/business.managescope.
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 |
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 |
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 ( |
| Fields | |
|---|---|
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.