---
title: "DiscountSourceCoupon"
description: "Discount applied manually when entering a coupon code at checkout."
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

Discount applied manually when entering a coupon code at checkout.

## Fields

- `id` (`DiscountSourceCoupon.id`; string, required) — The unique identifier of the coupon discount.
  - format `uuid`; example `"075b0b5c-a1f4-46da-9aca-92fb6dd5905d"`
- `code` (`DiscountSourceCoupon.code`; string, required) — The coupon code.
  - maxLength 100; example `"FREE_COFFEE"`
- `name` (`DiscountSourceCoupon.name`; string, required) — The name of the coupon discount.
  - maxLength 100; example `"Free coffee"`
- `application_mode` (`DiscountSourceCoupon.application_mode`; string, required) — Method of applying the discount to the items or cart.
  - one of `"MANUAL"`, `"AUTOMATIC"`; example `"MANUAL"`
- `description` (`DiscountSourceCoupon.description`; string, optional, nullable) — The description of the coupon discount.
  - maxLength 250; example `"Free coffee with this coupon."`
- `discount_class` (`DiscountSourceCoupon.discount_class`; string, optional, nullable) — The method used to target items to discount. Must be populated for ITEM level discounts, and must be null for CART level discounts (CART level targets all items, therefore none of these categories apply).
  - one of `"ITEM"`, `"CATEGORY"`, `"BUNDLE"`, `"BUY_X_GET_Y"`, `"MEAL_DEAL"`; example `"ITEM"`


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