---
title: "Listar assinaturas"
method: GET
path: "/subscriptions"
---

# Listar assinaturas

`GET /subscriptions`

Este recurso permite listar as assinaturas. Pode ser utilizados alguns parâmetros como filtro da listagem.

## Query parameters

- `status` string
- `code` string
- `billing_type` string
- `customer_id` string
- `plan_id` string
- `card_id` string
- `next_billing_since` string, date
- `next_billing_until` string, date
- `created_since` string, date
- `created_until` string, date
- `page` integer
- `size` integer

## Response `200`

200

- object
  - `data` object[]
    - `id` string
    - `payment_method` string
    - `currency` string
    - `interval` string
    - `gateway_affiliation_id` string
    - `boleto_due_days` integer
    - `minimum_price` integer
    - `interval_count` integer
    - `billing_type` string
    - `current_period` object
      - `start_at` string
      - `end_at` string
    - `next_billing_at` string
    - `installments` integer
    - `customer` object
      - `id` string
      - `name` string
      - `email` string
      - `delinquent` boolean
      - `created_at` string
      - `updated_at` string
    - `credit_card` object
      - `id` string
      - `holder_name` string
      - `masked_number` string
      - `exp_month` integer
      - `exp_year` integer
      - `expired` boolean
      - `status` string
      - `created_at` string
      - `update_at` string
      - `billing_address` object
        - `line_1` string
        - `zip_code` string
        - `city` string
        - `state` string
        - `country` string
    - `discounts` object[]
      - `id` string
      - `cycles` integer
      - `value` integer
      - `discount_type` string
      - `created_at` string
    - `increments` object[]
      - `id` string
      - `cycles` integer
      - `value` integer
      - `discount_type` string
      - `created_at` string
    - `items` object[]
      - `id` string
      - `description` string
      - `quantity` integer
      - `pricing_scheme` object
        - `price` integer
        - `scheme_type` string
      - `status` string
      - `created_at` string
      - `updated_at` string
    - `status` string
    - `created_at` string
    - `updated_at` string
    - `metadata` object
      - `id` string
  - `paging` object
    - `total_items` integer
    - `current_page` integer
    - `total_pages` integer

## Other responses

- `401` — 401

---

[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)
