{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/woolworths-group/json-schema/woolworths-group-order-reversal-response-schema.json",
  "title": "OrderReversalResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/woolworths-group-support-api-openapi.yml#/components/schemas/OrderReversalResponse",
  "properties": {
    "code": {
      "type": "number",
      "description": "The response code. 0 indicates a successful response."
    },
    "message": {
      "type": "string",
      "description": "The response message."
    },
    "messages": {
      "type": "array",
      "description": "Any additional informational messages",
      "items": {
        "type": "string"
      }
    },
    "order": {
      "description": "Order identifiers and status information.",
      "properties": {
        "status": {
          "type": "string",
          "description": "The current order status."
        },
        "orderId": {
          "type": "string",
          "description": "Wpay order identifier (ID)."
        },
        "refno": {
          "type": "string",
          "description": "The unique order reference identifier you supplied when ordering the digital gift cards."
        }
      }
    }
  }
}