{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/flipdish/refs/heads/main/json-schema/payments-payout-report3-refunded-order-schema.json",
  "title": "PayoutReport3RefundedOrder",
  "description": "PayoutReport3RefundedOrder schema from Flipdish API - Payments.",
  "type": "object",
  "properties": {
    "OrderId": {
      "format": "int32",
      "type": "integer",
      "example": 500123
    },
    "PlacedAtTime": {
      "format": "date-time",
      "type": "string",
      "example": "2026-06-02T12:00:00Z"
    },
    "ModifiedAtTime": {
      "format": "date-time",
      "type": "string",
      "example": "2026-06-02T12:00:00Z"
    },
    "StoreName": {
      "type": "string",
      "example": "Example Name"
    },
    "Type": {
      "enum": [
        "Cash",
        "Card"
      ],
      "type": "string",
      "example": "Cash"
    },
    "RefundedAmount": {
      "format": "double",
      "type": "number",
      "example": 12.5
    },
    "RefundedFees": {
      "format": "double",
      "type": "number",
      "example": 12.5
    },
    "RefundType": {
      "type": "string",
      "example": "string"
    },
    "CashFeeRefundedToCustomer": {
      "format": "double",
      "type": "number",
      "example": 12.5
    }
  }
}