GeneratePaymentTokenRedirectErrorResponse

  • The JSON representation provides details about errors during redirect payments, including a description and a response code.

  • errorDescription is an optional field for support debugging, containing non-sensitive text and requiring caution with token inclusion.

  • errorResponseResult is a required field, using an enum to indicate the specific type of error encountered.

Details about the error that occurred during the redirect payment.

JSON representation
{
  "errorDescription": string,
  "errorResponseResult": enum (RedirectErrorResponseCode)
}
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

enum (RedirectErrorResponseCode)

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