{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/verifone/refs/heads/main/json-schema/ecommerce-api-ecomreversetransactionresponse.json",
  "title": "EcomReverseTransactionResponse",
  "description": "EcomReverseTransactionResponse from Verifone eCommerce API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "title": "Transaction ID",
      "format": "uuid-flexible",
      "description": "The ID of the transaction."
    },
    "status": {
      "type": "string",
      "description": "The status of the original transaction request.",
      "title": "Ecommerce Transaction Status",
      "enum": [
        "NOT_AUTHORISED",
        "AUTHENTICATION_REQUESTED",
        "AUTHORISED",
        "PARTIALLY_AUTHORISED",
        "PARTIALLY_CANCELLED",
        "CANCELLED",
        "PARTIALLY_SETTLED",
        "SETTLED",
        "PARTIALLY_REFUNDED",
        "SETTLEMENT_REQUESTED",
        "REFUNDED",
        "DECLINED",
        "TIMED_OUT",
        "EXPIRED",
        "FAILED",
        "DISPUTED"
      ]
    }
  },
  "required": [
    "id",
    "status"
  ]
}