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 ( |
Fields | |
---|---|
authenticateRequestId |
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 |
REQUIRED: The final result of the request to Authenticate the user. |
eci |
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 |
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 |
A successful authentication. A payment can now be made with a |
unableToAuthenticate |
The attempt to authenticate the user failed. |
attempted |
An attempt was made to authenticate the user. The results are inconclusive. Since the results are inconclusive, Google will attempt a |