Flipdish · JSON Structure

Payments Payout Refund Structure

Holds the information for a refund related to a payout

Type: object Properties: 11
RestaurantOnline OrderingMobile AppsPoint of SaleOrdersMenuPaymentsWebhooks

PayoutRefund is a JSON Structure definition published by Flipdish, describing 11 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

OrderId OrderCurrency PayoutId OrderDate OrderType RefundDate StoreId TotalRefund RefundedFees RefundedAmount CashFeeRefundedToCustomer

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/flipdish/refs/heads/main/json-structure/payments-payout-refund-structure.json",
  "name": "PayoutRefund",
  "description": "Holds the information for a refund related to a payout",
  "type": "object",
  "properties": {
    "OrderId": {
      "description": "The id of the order the refund was for",
      "type": "int32",
      "example": 500123
    },
    "OrderCurrency": {
      "description": "Order currency",
      "enum": [
        "EUR",
        "USD",
        "GBP",
        "CAD",
        "AUD",
        "DJF",
        "ZAR",
        "ETB",
        "AED",
        "BHD",
        "DZD",
        "EGP",
        "IQD",
        "JOD",
        "KWD",
        "LBP",
        "LYD",
        "MAD",
        "OMR",
        "QAR",
        "SAR",
        "SYP",
        "TND",
        "YER",
        "CLP",
        "INR",
        "AZN",
        "RUB",
        "BYN",
        "BGN",
        "NGN",
        "BDT",
        "CNY",
        "BAM",
        "CZK",
        "DKK",
        "CHF",
        "MVR",
        "BTN",
        "XCD",
        "BZD",
        "HKD",
        "IDR",
        "JMD",
        "MYR",
        "NZD",
        "PHP",
        "SGD",
        "TTD",
        "XDR",
        "ARS",
        "BOB",
        "COP",
        "CRC",
        "CUP",
        "DOP",
        "GTQ",
        "HNL",
        "MXN",
        "NIO",
        "PAB",
        "PEN",
        "PYG",
        "UYU",
        "VEF",
        "IRR",
        "XOF",
        "CDF",
        "XAF",
        "HTG",
        "ILS",
        "HRK",
        "HUF",
        "AMD",
        "ISK",
        "JPY",
        "GEL",
        "KZT",
        "KHR",
        "KRW",
        "KGS",
        "LAK",
        "MKD",
        "MNT",
        "BND",
        "MMK",
        "NOK",
        "NPR",
        "PKR",
        "PLN",
        "AFN",
        "BRL",
        "MDL",
        "RON",
        "RWF",
        "SEK",
        "LKR",
        "SOS",
        "ALL",
        "RSD",
        "KES",
        "TJS",
        "THB",
        "ERN",
        "TMT",
        "BWP",
        "TRY",
        "UAH",
        "UZS",
        "VND",
        "MOP",
        "TWD",
        "BMD"
      ],
      "type": "string",
      "example": "EUR"
    },
    "PayoutId": {
      "description": "The id of the payout the order is related to",
      "type": "int32",
      "example": 500123
    },
    "OrderDate": {
      "description": "The date the order was placed",
      "type": "datetime",
      "example": "2026-06-02T12:00:00Z"
    },
    "OrderType": {
      "description": "Order type (online or cash)",
      "enum": [
        "Cash",
        "Online"
      ],
      "type": "string",
      "example": "Cash"
    },
    "RefundDate": {
      "description": "The date the refund was done",
      "type": "datetime",
      "example": "2026-06-02T12:00:00Z"
    },
    "StoreId": {
      "description": "Store id",
      "type": "int32",
      "example": 500123
    },
    "TotalRefund": {
      "description": "Total refund amount",
      "type": "double",
      "example": 12.5
    },
    "RefundedFees": {
      "description": "Refunded fees amount",
      "type": "double",
      "example": 12.5
    },
    "RefundedAmount": {
      "description": "Refunded amount",
      "type": "double",
      "example": 12.5
    },
    "CashFeeRefundedToCustomer": {
      "description": "Cash fee refunded to customer",
      "type": "double",
      "example": 12.5
    }
  }
}