# RefundIntentInput

> The `RefundIntentInput` input object.

Source: https://docs.gastrogate.io/docs/api/types/RefundIntentInput

**Kind:** Input objects

## Input fields

| Name | Type | Description |
| --- | --- | --- |
| `orderId` | [`ID`](https://docs.gastrogate.io/docs/api/types/ID.md) | DEPRECATED: Pass "orderId" directly to the "createRefundIntent" mutation instead. |
| `context` | [`RefundContextInput`](https://docs.gastrogate.io/docs/api/types/RefundContextInput.md) | Business context supplied by the client creating the refund. |
| `employeeId` | [`ID`](https://docs.gastrogate.io/docs/api/types/ID.md) | The employee authorising the refund. |
| `items` | \[[`RefundIntentItemInput`](https://docs.gastrogate.io/docs/api/types/RefundIntentItemInput.md)!\] | Specific items to refund. Total refund amount of all items must be equal to "refundAmount". |
| `paymentMethodId` | [`ID`](https://docs.gastrogate.io/docs/api/types/ID.md) | If specified, will use this specific payment method to refund the order. Otherwise uses the same provider that was used to pay the order. |
| `posTerminalId` | [`ID`](https://docs.gastrogate.io/docs/api/types/ID.md) | The terminal that the card refund should be made on. This is only applicable if refunding a payment made with a physical card terminal. |
| `receiptPrinterId` | [`ID`](https://docs.gastrogate.io/docs/api/types/ID.md) | If provided, instead of sending a digital receipt, the original receipt will be printed on the specified printer and the digital receipt will be a copy of the receipt. |
| `refundAmount` | [`Int53`](https://docs.gastrogate.io/docs/api/types/Int53.md) | The total amount that should be refunded. Currently, the full amount of the order will be refunded if this is not provided. MANDATORY: This field will be made mandatory in the future. |
| `refundDiscountAmount` | [`Int53`](https://docs.gastrogate.io/docs/api/types/Int53.md) | How much of the discount that should be refunded. Should also be deducted from the total "refundAmount". |
| `refundTipAmount` | [`Int53`](https://docs.gastrogate.io/docs/api/types/Int53.md) | How much of the tip that should be refunded. Should also be included in the total "refundAmount". |
| `tillId` | [`ID`](https://docs.gastrogate.io/docs/api/types/ID.md) | The till that the refund was made from. |
| `waitActionSupported` | [`Boolean`](https://docs.gastrogate.io/docs/api/types/Boolean.md) | Indicates that the client supports getting back a "Wait" action. Without this support we cannot guarantee that the refund intent will be completed. If this is not provided, we will assume that the client does not support this. |
