OPTIONAL: Provide one of the codes listed in
the table below.
Error Response Codes and Advised HTTP Codes
INVALID_API_VERSION
400
Used if the integrator does not support the request's API
version.
INVALID_PAYLOAD_SIGNATURE
401
Used if the signature of the payload is to an unknown or
inactive key.
INVALID_PAYLOAD_ENCRYPTION
400
Used if the encryption of the payload is to an unknown or
inactive key.
REQUEST_TIMESTAMP_OUT_OF_RANGE
400
Used if the request_timestamp is not ± 60s of
now.
INVALID_IDENTIFIER
404
Used if an identifier sent in the request was invalid or
unknown. This may include paymentIntegratorAccountId,
googlePaymentToken, captureRequestId
etc. The type of the invalid
identifier should be specified in the errorDescription.
IDEMPOTENCY_VIOLATION
412
Used if the request violates the idempotency requirements for
the request.
INVALID_FIELD_VALUE
400
Used if the request contains a value for a field that isn't in
the set of supported values.
MISSING_REQUIRED_FIELD
400
Used if a field that is required is unset in the request.
PRECONDITION_VIOLATION
400
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).
USER_ACTION_IN_PROGRESS
400
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.
INVALID_DECRYPTED_REQUEST
400
Used if the request payload could be decrypted, but the
resulting message could not be parsed.
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 (e.g.
INVALID_IDENTIFIER should be accompanied by information in
this field as to which type of identifier was invalid).
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-03 UTC.
[null,null,["Last updated 2024-09-03 UTC."],[[["The response body for all non-200 HTTP responses provides details about the error, including a timestamp, an error response code, and an error description."],["The `errorResponseCode` field offers specific codes to identify the error type, while the `errorDescription` field provides additional details for support and debugging purposes."],["It is important to note that sensitive information should not be included in the error description, as it is intended for internal use and not for display to users."]]],[]]