RedirectUrlResponse

Stay organized with collections Save and categorize content based on your preferences.

Response object for the Return Url flow.

Here's an example of a clear text JSON request:


{
  "authenticateRequestId": "cmVxdWVzdDE",
  "authenticateResultCode": {
    "success": {}
  },
  "eci": "07"
}

The RedirectUrlResponse is encrypted and signed using PGP or JWE+JWS. Further, this value is web-safe base64 encoded. This encoding is referred to below as Base64UrlEncode. In other words, the clear text JSON version of the RedirectUrlResponse must be passed through the following functions:

Base64UrlEncode(
  PGPSignAndEncrypt(
{
  "authenticateRequestId": "cmVxdWVzdDE",
  "authenticateResultCode": {
    "success": {}
  },
  "eci": "07"
}
  )
)

or

Base64UrlEncode(
  JWSignAndEncrypt(
{
  "authenticateRequestId": "cmVxdWVzdDE",
  "authenticateResultCode": {
    "success": {}
  },
  "eci": "07"
}
  )
)
JSON representation
{
  "authenticateRequestId": string,
  "authenticateResultCode": {
    object (AuthenticateResultCode)
  },
  "eci": string
}
Fields
authenticateRequestId

string

REQUIRED: Unique identifier of the initiating redirect request.

This is a string that has a max length of 100 characters, and contains only the characters "a-z", "A-Z", "0-9", ":", "-", and "_".

authenticateResultCode

object (AuthenticateResultCode)

REQUIRED: The final result of the request to Authenticate the user.

eci

string

OPTIONAL: The Electronic Commerce Indicator returned for the request. It should be returned if available.

AuthenticateResultCode

Result codes for the authenticate request that this getAuthenticateResult is referencing.

JSON representation
{

  // Union field authenticate_result_code can be only one of the following:
  "success": {
    object (Empty)
  },
  "unableToAuthenticate": {
    object (Empty)
  },
  "attempted": {
    object (Empty)
  }
  // End of list of possible types for union field authenticate_result_code.
}
Fields
Union field authenticate_result_code. Result codes for the authenticate request that this getAuthenticateResult is referencing. authenticate_result_code can be only one of the following:
success

object (Empty)

A successful authentication. A payment can now be made with a reserveFunds or capture request.

unableToAuthenticate

object (Empty)

The attempt to authenticate the user failed.

attempted

object (Empty)

An attempt was made to authenticate the user. The results are inconclusive. Since the results are inconclusive, Google will attempt a reserveFunds or capture request.