---
title: "IsRefundValid"
method: POST
path: "/api/ProcessedOrders/IsRefundValid"
tags: ["ProcessedOrders"]
---

# IsRefundValid

`POST /api/ProcessedOrders/IsRefundValid`

## Request

- Base URL: `https://eu-ext.linnworks.net`
- URL: `https://eu-ext.linnworks.net/api/ProcessedOrders/IsRefundValid`
- Auth: API key in header `Authorization`

Use this call to determine if the refunds in a given return set are valid.
<b>Rate limit: </b><span style="background-color:#0272d9;color:white;padding:4px 8px;text-align:center;border-radius:5px; font-size: small;"><b>150</b></span> / minute

## Request body

- ProcessedOrdersIsRefundValidRequest
  - `pkOrderId` string, uuid: The id of the order to validate the refund with
  - `refundItems` RefundItem[]: The refund rows
    - `pkRefundRowId` string, uuid: For updating refund amounts
    - `IsManualRefund` boolean: Manual refunds will never be passed to the channel validation routines
    - `Type` 'Item' | 'Service' | 'Shipping' | 'FreeText': The type of refund item
    - `fkOrderItemId` string, uuid: The order item or service to refund
    - `RefundQty` integer: In the case of item refunds, the number of items
    - `RefundAmount` number, double: The amount of money the refund is for.
    - `Reason` string: The seller's text reason for the refund
    - `ChannelReason` string: The primary channel reason
    - `ChannelReasonSec` string: The secondary channel reason

## Response `200`

OK

- ValidationResult
  - `Type` 'Success' | 'Unknown' | 'RefundAutomationDisabled' | 'NotAllowedByChannel' | 'InvalidRefundAmounts' | 'NotImplementedForChannel': Validation result
  - `InvalidItems` RefundItem[]: List of affected items
    - `pkRefundRowId` string, uuid: For updating refund amounts
    - `IsManualRefund` boolean: Manual refunds will never be passed to the channel validation routines
    - `Type` 'Item' | 'Service' | 'Shipping' | 'FreeText': The type of refund item
    - `fkOrderItemId` string, uuid: The order item or service to refund
    - `RefundQty` integer: In the case of item refunds, the number of items
    - `RefundAmount` number, double: The amount of money the refund is for.
    - `Reason` string: The seller's text reason for the refund
    - `ChannelReason` string: The primary channel reason
    - `ChannelReasonSec` string: The secondary channel reason
  - `AdditionalInformation` string: Additional information

---

[API](https://skmtc.dev/linnworks/apis/processed-orders-api.md) - [All operations](https://skmtc.dev/linnworks/apis/processed-orders-api/llms.txt) - [OpenAPI document](https://skmtc.dev/linnworks/apis/processed-orders-api/revisions/0389e091f52f?raw)
