Verifone · Schema

HTTP 504 Error

Gateway Timeout Error

PaymentsPOSTerminal ManagementeCommerceFinTechPayment ProcessingOmnichannel
View JSON Schema on GitHub

JSON Schema

order-service-api-httperror504.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/verifone/refs/heads/main/json-schema/order-service-api-httperror504.json",
  "title": "HTTP 504 Error",
  "description": "Gateway Timeout Error",
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/ErrorResp"
    },
    {
      "properties": {
        "code": {
          "type": "string",
          "enum": [
            "504"
          ],
          "default": "504"
        },
        "title": {
          "type": "string",
          "enum": [
            "Gateway Timeout"
          ],
          "default": "Gateway Timeout"
        },
        "message": {
          "type": "string",
          "default": "The server, while acting as a gateway or proxy, did not get a response in time from the upstream server that it needed in order to complete the request."
        },
        "timestamp": {
          "description": "The time that the error occurred. All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone.",
          "type": "string",
          "format": "date-time"
        },
        "type": {
          "type": "string",
          "enum": [
            "API_ERROR"
          ],
          "default": "API_ERROR"
        },
        "param": {
          "description": "The parameter the error relates to if the error is parameter-specific. You can use this to display a message near the correct form field, for example.",
          "type": "string"
        }
      }
    }
  ],
  "required": [
    "code",
    "title",
    "message",
    "type"
  ],
  "additionalProperties": false
}