---
title: "Obter desconto"
method: GET
path: "/subscriptions/{subscription_id}/discounts/{discount_id}"
---

# Obter desconto

`GET /subscriptions/{subscription_id}/discounts/{discount_id}`

Através dos identificadores da assinatura (`subscription_id`) e do desconto associado (`discount_id`) é possível recuperar as informações do desconto.

## Path parameters

- `subscription_id` string, required
- `discount_id` string, required

## Response `200`

200

- object
  - `id` string
  - `value` integer
  - `discount_type` string
  - `status` string
  - `created_at` string
  - `subscription` object
    - `id` string
    - `code` string
    - `start_at` string
    - `interval` string
    - `interval_count` integer
    - `billing_type` string
    - `next_billing_at` string
    - `payment_method` string
    - `currency` string
    - `statement_descriptor` string
    - `installments` integer
    - `status` string
    - `created_at` string
    - `updated_at` string

## Other responses

- `404` — 404

---

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