---
title: "List all discount codes"
method: GET
path: "/discount-codes"
tags: ["DiscountCodes"]
---

# List all discount codes

`GET /discount-codes`

## Request

- Base URL: `https://api.xfa.tech`
- URL: `https://api.xfa.tech/discount-codes`
- Auth: HTTP bearer

## Response `200`

Returns all discount codes

- object[]
  - `OrganizationID` string
  - `Date` string, required: The discount code string
  - `Percentage` number, required
  - `DurationMonths` integer, required
  - `CodeType` 'one-time' | 'repeatable', required
  - `Tag` string: Free text reference for who received the code
  - `Redeemed` boolean
  - `RedeemedBy` string
  - `RedeemedAt` string
  - `CreatedAt` string

---

[API](https://skmtc.dev/xfa/apis/xfa-api.md) · [All operations](https://skmtc.dev/xfa/apis/xfa-api/llms.txt) · [OpenAPI document](https://skmtc.dev/xfa/apis/xfa-api/revisions/1a1be0e8972b?raw)
