Method: authenticationResultNotification

Completes an authentication request that was triggered by Google in a different context that cannot receive a synchronous response from the vendor. For instance, an authentication based on sending an SMS from the user's device.

An example request looks like:


{
  "requestHeader": {
    "protocolVersion": {
      "major": 2
    },
    "requestId": "8c700b9e-62d4-11e9-a923-1681be663d3e",
    "requestTimestamp": {
      "epochMillis": "1502545413026"
    },
    "paymentIntegratorAccountId": "InvisiCashUSA_USD"
  },
  "authenticationRequestId": "Y382JCD7FK5U1356168QNAJHBTDGADAGGD",
  "result": {
    "success": {}
  }
}

An example response looks like:


{
  "responseHeader": {
    "responseTimestamp": {
      "epochMillis": "1502545413098"
    },
    "requestId": "8c700b9e-62d4-11e9-a923-1681be663d3e"
  },
  "result": {
    "success": {}
  }
}

HTTP request

POST https://billpaynotification.googleapis.com/secure-serving/gsp/v2/authenticationResultNotification

Request body

The request body contains data with the following structure:

JSON representation
{
  "requestHeader": {
    object (RequestHeader)
  },
  "authenticationRequestId": string,
  "result": {
    object (AuthenticationResult)
  }
}
Fields
requestHeader

object (RequestHeader)

REQUIRED: Common header for all requests.

authenticationRequestId

string

REQUIRED: Reflected back to Google by the payment integrator. This is the ID of this particular authentication session. It was originally generated by Google and sent to the payment integrator at the start of the authentication flow.

result

object (AuthenticationResult)

REQUIRED: The result of the authentication attempt.

Response body

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

Response object for the authenticationResultNotification method.

JSON representation
{
  "responseHeader": {
    object (ResponseHeader)
  },
  "result": {
    object (AuthenticationResultNotificationResult)
  }
}
Fields
responseHeader

object (ResponseHeader)

REQUIRED: Common header for all responses.

result

object (AuthenticationResultNotificationResult)

REQUIRED: Result of this call.

AuthenticationResult

JSON representation
{

  // Union field result can be only one of the following:
  "success": {
    object (Empty)
  },
  "authenticationFailed": {
    object (Empty)
  }
  // End of list of possible types for union field result.
}
Fields

Union field result.

result can be only one of the following:

success

object (Empty)

The user was authenticated successfully.

authenticationFailed

object (Empty)

The user was not authenticated and the current flow should be aborted or authentication should be retried.

AuthenticationResultNotificationResult

Result codes for the authenticationResultNotification method.

JSON representation
{
  "success": {
    object (Empty)
  }
}
Fields
success

object (Empty)

The authentication result was successfully processed.