{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/toast-tab/refs/heads/main/json-structure/orders-refund-structure.json", "name": "Refund", "description": "A currency amount removed from a guest payment.", "type": "object", "properties": { "refundAmount": { "type": "double", "description": "The amount of the refund, excluding the tip.", "example": 1.0 }, "tipRefundAmount": { "type": "double", "description": "The amount of the tip refund.", "example": 1.0 }, "refundDate": { "description": "The date and time when the refund was made.", "type": "datetime", "example": "2026-06-03T12:00:00.000+0000" }, "refundBusinessDate": { "x-toast-read-only": true, "description": "The business date (yyyyMMdd) on which this refund was created. Response only.", "type": "int32", "example": "2026-06-03T12:00:00.000+0000" }, "refundTransaction": { "description": "An identifier for the refund transaction. You can use the identifier to associate items and service charges that were refunded in the same transaction.\n", "type": "object", "$ref": "#/$defs/RefundTransaction" } }, "definitions": { "RefundTransaction": { "allOf": [ { "$ref": "#/$defs/ToastReference" }, { "type": "object", "description": "An identifier for the refund transaction. You can use the identifier to associate items and service charges that were refunded in the same transaction.\n" } ], "name": "RefundTransaction" } } }