---
title: "Leer Descuento"
method: GET
path: "/discounts/{discountID}"
tags: ["Descuentos"]
---

# Leer Descuento

`GET /discounts/{discountID}`

## Request

- Base URL: `https://api.mattilda.school/matti_api/v1`
- URL: `https://api.mattilda.school/matti_api/v1/discounts/{discountID}`
- Auth: API key in header `api_key`

Brinda información detallada sobre un Descuento específico, identificado por su ID.

## Path parameters

- `discountID` string, required: ID del Descuento que se desea trabajar.

## Headers

- `campusID` string, uuid, required
- `periodID` string, uuid, required: ID del periodo que se desea trabajar.

## Response `200`

Leer Descuento

- Discounts
  - `id` string
  - `name` string
  - `program_id` string
  - `workday` boolean
  - `apply_to_inscriptions` boolean
  - `apply_to_memberships` boolean
  - `status` 'active' | 'deleted'
  - `external_id` string
  - `metadata` object: Campo arbitrario de datos de terceros
  - `items` object[]
    - `amount` integer
    - `type` 'integer' | 'percentage'
    - `max_date` integer: Cuántos días se puede aplicar el Descuento
    - `from_day` integer: Hasta el día 30
    - `from_month` integer: Hasta el mes 4
    - `to_day` integer: Después del primer día
    - `to_month` integer: Después del primer mes
    - `not_apply_with_scholarship` boolean

## Other responses

- `404` (unresolved $ref)

---

[API](https://skmtc.dev/mattilda-education/apis/mattilda-api.md) - [All operations](https://skmtc.dev/mattilda-education/apis/mattilda-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mattilda-education/apis/mattilda-api/revisions/a7093ab951dc?raw)
