CompleteRedirectErrorResponse

Details about the error that occurred during the redirect payment.

JSON representation
{
  "errorDescription": string,
  "errorResponseResult": {
    object (ErrorResponseResult)
  }
}
Fields
errorDescription

string

OPTIONAL: Provide a description of this status for support reps to debug errors. Note that this is never shown to users. It can contain descriptive, non-sensitive text used for debugging. Note that some values for errorResponseCode should be accompanied by additional detail in this field. Warning: Do not include any tokens in this message unless they are defined as public.

errorResponseResult

object (ErrorResponseResult)

REQUIRED: A code that captures the type of error that occurred.

ErrorResponseResult

Error Codes

JSON representation
{

  // Union field result can be only one of the following:
  "invalidApiVersion": {
    object (InvalidApiVersion)
  },
  "invalidPayloadSignature": {
    object (Empty)
  },
  "invalidPayloadEncryption": {
    object (Empty)
  },
  "requestTimestampOutOfRange": {
    object (RequestTimestampOutOfRange)
  },
  "invalidIdentifier": {
    object (InvalidIdentifier)
  },
  "idempotencyViolation": {
    object (Empty)
  },
  "invalidFieldValue": {
    object (InvalidFieldValue)
  },
  "missingRequiredField": {
    object (MissingRequiredField)
  },
  "preconditionViolation": {
    object (Empty)
  },
  "userActionInProgress": {
    object (Empty)
  },
  "invalidDecryptedRequest": {
    object (Empty)
  },
  "internalError": {
    object (Empty)
  },
  "unimplemented": {
    object (Empty)
  },
  "unavailable": {
    object (Empty)
  },
  "gatewayTimeout": {
    object (Empty)
  }
  // End of list of possible types for union field result.
}
Fields

Union field result.

result can be only one of the following:

invalidApiVersion

object (InvalidApiVersion)

Used if the request's API version is unsupported.

invalidPayloadSignature

object (Empty)

Used if the signature of the payload is to an unknown or inactive key.

invalidPayloadEncryption

object (Empty)

Used if the encryption of the payload is to an unknown or inactive key.

requestTimestampOutOfRange

object (RequestTimestampOutOfRange)

Used if the requestTimestamp is not ± 60s of now.

invalidIdentifier

object (InvalidIdentifier)

Used if an identifier sent in the request was invalid or unknown. This may include PIAID, captureRequestId, Google Payment Token, etc.

idempotencyViolation

object (Empty)

Used if the request violates the idempotency requirements for the request.

invalidFieldValue

object (InvalidFieldValue)

Used if the request contains a value for a field that isn't in the set of supported values.

missingRequiredField

object (MissingRequiredField)

Used if a field that is required is unset in the request.

preconditionViolation

object (Empty)

Used if a constraint on the operation is violated (e.g. when a request for a refund amount exceeds the amount remaining on the transaction).

userActionInProgress

object (Empty)

Used if the request cannot be processed at this time because it would interrupt an in-process user action which effectively acts as a system lock. This code must not be used to indicate failures due to implementation-specific internal concurrency errors.

invalidDecryptedRequest

object (Empty)

Used if the request payload could be decrypted, but the resulting message could not be parsed.

internalError

object (Empty)

Internal errors. This means some invariants expected by underlying system has been broken. Analogous to HTTP error 500.

unimplemented

object (Empty)

Operation is not implemented, supported or enabled in this service. Analogous to HTTP error 501.

unavailable

object (Empty)

The service is currently unavailable. This is a most likely a transient condition and may be corrected by retrying. Analogous to HTTP error 503.

gatewayTimeout

object (Empty)

Deadline expired before operation could complete. For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire. Analogous to HTTP error 504.

InvalidApiVersion

JSON representation
{
  "requestVersion": {
    object (Version)
  },
  "expectedVersion": {
    object (Version)
  }
}
Fields
requestVersion

object (Version)

REQUIRED: The invalid version that was specified on the request.

expectedVersion

object (Version)

REQUIRED: The expected version.

RequestTimestampOutOfRange

JSON representation
{
  "requestTimestamp": {
    object (Timestamp)
  },
  "serverTimestampAtReceipt": {
    object (Timestamp)
  }
}
Fields
requestTimestamp

object (Timestamp)

REQUIRED: The timestamp provided in the request

serverTimestampAtReceipt

object (Timestamp)

REQUIRED: The server time at receipt, used for comparison

InvalidIdentifier

JSON representation
{
  "invalidIdentifierType": string
}
Fields
invalidIdentifierType

string

REQUIRED: The type of identifier that was invalid, e.g. PIAID, captureRequestId, etc.

InvalidFieldValue

JSON representation
{
  "invalidFieldName": string
}
Fields
invalidFieldName

string

REQUIRED: The name of the field that was found to be invalid.

MissingRequiredField

JSON representation
{
  "missingFieldNames": [
    string
  ]
}
Fields
missingFieldNames[]

string

REQUIRED: The names of the missing fields.