---
title: "DiscountSourceAdHoc"
description: "Discount created ad-hoc on device during 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 created ad-hoc on device during checkout.

## Fields

- `id` (`DiscountSourceAdHoc.id`; string, optional) — The unique identifier of the ad-hoc discount.
  - format `uuid`; example `"075b0b5c-a1f4-46da-9aca-92fb6dd5905d"`
- `name` (`DiscountSourceAdHoc.name`; string, optional) — The name of the ad-hoc discount.
  - maxLength 100; example `"Happy Hour"`
- `description` (`DiscountSourceAdHoc.description`; string, optional) — The description of the ad-hoc discount.
  - maxLength 250; example `"Happy Hour from 10 to 12."`


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