# DuplicateTransactionSettings

A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.

Duplicate-detection settings. Two transactions match when the merchant, the base amount and
the payment instrument agree, optionally narrowed by the invoice number.

## Fields
- `windowHours` (integer(int32)): How long, in hours, a transaction stays on record for duplicate detection. The window is  fixed from the first transaction rather than sliding, so a flagged duplicate does not  extend it. Null or 0 means the rule does nothing even when enabled. Accepted range 0 to 720  (30 days). (nullable, min 0, max 720)
- `includeInvoiceNumber` (boolean): Whether the invoice number is part of what makes two transactions the same. True narrows  the match, so two transactions carrying different invoice numbers are no longer duplicates  of each other. Null or false matches on the merchant, amount and payment instrument alone. (nullable)
- `allowOverride` (boolean): Whether this merchant lets a request waive the duplicate check on a per-transaction  basis. Derived from the merchant's Processing.DuplicateCheck.AllowOverride every time the  configuration is read, so a value written here is not kept. Null means no override. (nullable, read only)

## See also

- [All documentation](https://devportal.demo.winkpg.io/llms.txt): the machine-readable index of every public page on this site.
