---
title: "DiscountValue"
description: "The value type of the discount, either a percentage based or absolute monetary value.\n\nIt is required that only one of the following is set:\n- absolute\n- percentage."
image: "https://developer.sumup.com/og/index.png"
---

> Documentation Index
> Fetch the complete documentation index at: https://developer.sumup.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: SumUp REST API

The value type of the discount, either a percentage based or absolute monetary value.

It is required that only one of the following is set:
- absolute
- percentage.

## Fields

- `absolute` (`DiscountValue.absolute`; integer, optional) — The absolute value in minor units of the currency according to the Sale.currency.scale. Example: 10000 = 10.00
  - format `int64`; min 0; example `100`
- `percentage` (`DiscountValue.percentage`; integer, optional) — The percentage in minor units (1/100000). Examples: - 10% -> 0.10 (decimal) = 10000 (minor units) - 15.5% -> 0.155 (decimal) = 15500 (minor units) - 0.001% -> 0.00001 (decimal) = 1 (minor units)
  - format `int64`; min 0; example `10000`


Source: https://developer.sumup.com/api/schemas/DiscountValue/index.md
