---
title: "List all discounts"
method: GET
path: "/discounts"
tags: ["Discounts"]
---

# List all discounts

`GET /discounts`

List all discounts for Sequence account

## Query parameters

- `limit` integer
- `after` string
- `before` string

## Headers

- `Authorization` string, required
- `sequence-version` '2024-07-30'

## Response `200`

OK

- ListDiscountsResponse
  - `items` DiscountResponse[], required — Discounts
    - `id` string, required — Discount ID
    - `sequenceAccountId` string, required — The Sequence Account to which this Discount belongs
    - `billingScheduleId` string, required — Billing Schedule ID
    - `phaseId` string — Phase ID
    - `priceIds` string[], required — Price IDs this discount applies to. If not populated, the discount applies to all prices on the billing schedule
    - `separateLineItem` boolean, required — Indicates whether the discount should appear as a separate line item in the invoice
    - `amount` number, required — Amount to be reduced
    - `discountCalculationType` 'PERCENTAGE' | 'NOMINAL', required
    - `message` string, required — Message to appear on the Invoice
    - `validFrom` string — First Day Discount is Valid
    - `validTo` string — Last Day Discount is Valid
    - `createdAt` string, required — Created at
    - `updatedAt` string, required — Updated At
    - `seatDiscountType` 'INCLUDED_SEATS_ONLY' | 'OVERAGE_SEATS_ONLY' | 'ALL_SEATS', required
  - `pagination` PaginationMeta, required — Results pagination
    - `after` string — Cursor for the page after this (if it exists)
    - `before` string — Cursor for the page before this (if it exists)
    - `totalResultSize` integer — Total number of entries across all pages

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

---

[API](https://skmtc.net/sequencehq/apis/sequence.md) · [All operations](https://skmtc.net/sequencehq/apis/sequence/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sequencehq/sequence/versions/cae64b02699f/schema)
