{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/woolworths-group/main/json-schema/woolworths-group-order-status-response-schema.json",
  "title": "OrderStatusResponse",
  "description": "The JSON response structure of Order Status endpoint",
  "x-generated": "2026-10-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/woolworths-group-wpay-gift-card-partner-openapi.yml#/components/schemas/OrderStatusResponse",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "description": "The current order status. Will be one of PENDING, PROCESSING, CANCELED and COMPLETE. PENDING indicates that the order has been placed but payment redepmtion and process has not yet begun. PROCESSING indicates that the order is currently being processed. CANCELED indicates that the order is canceled and the payment has been reversed. COMPLETE indicates that the gift card details are ready for retrieval via the Get Activated Cards API.",
      "enum": [
        "PENDING",
        "PROCESSING",
        "CANCELED",
        "COMPLETE"
      ]
    },
    "statusLabel": {
      "type": "string",
      "description": "Human readable description of the order status"
    },
    "orderId": {
      "type": "string",
      "description": "Wpay order identifier (ID). This order ID is used at the end the batch order process when retrievig the ativated cards."
    },
    "refno": {
      "type": "string",
      "description": "The unique order reference identifier you supplied for this order.",
      "maxLength": 55
    }
  }
}