Response body
Object sent during authentication response.
Here's an example of a clear text JSON response:
{
"associationId": "88ydEE-ioiwe==",
"requestId": "375dhjf9-Uydd="
}
The AuthenticationResponse
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
AuthenticationRequest
must be passed through the following functions:
Base64UrlEncode(
PGPSignAndEncrypt(
'{"associationId": "88ydEE-ioiwe==", "requestId": "375dhjf9-Uydd="}'
)
)
or
Base64UrlEncode(
JWSignAndEncrypt(
'{"associationId": "88ydEE-ioiwe==", "requestId": "375dhjf9-Uydd="}'
)
)
JSON representation | |
---|---|
{ "associationId": string, "requestId": string, } |
Fields | |
---|---|
associationId |
Reflected back by the payment integrator to Google. This allows
Google to check that the |
requestId |
REQUIRED: Reflected back by the payment integrator to Google. This allows Google to prevent replay attacks. |