---
title: "Get subscription details"
method: GET
path: "/v2/subscriptions/{subscription_hash_id}"
tags: ["Subscriptions V2"]
---

# Get subscription details

`GET /v2/subscriptions/{subscription_hash_id}`

## Path parameters

- `subscription_hash_id` string, required

## Query parameters

- `num_records` string
- `page` integer

## Response `200`

Subscription fetched successfully

- GetSubscriptionInvoicesV2
  - `success` boolean — Success flag
  - `message` string — Message
  - `error_code` string — Error code
  - `errors` object — Error details
  - `data` SubscriptionDataV2
    - `invoices` InvoiceV2[] — List of invoices
      - `name` string — Customer Name
      - `id` string — Customer ID
      - `serial_number` string — Serial Number
      - `status` 'paid' | 'pending' | 'cancelled' — Status
      - `hash_id` string — Hash ID
      - `record_time` string — Record Time
      - `total_amount` number — Total Amount
    - `total_records` integer — Total number of records
    - `upcoming_date` string — Upcoming Date
    - `repeat_every` integer — Repeat Every
    - `repeat_unit` string — Repeat Unit
    - `last_created` string — Last Created Date

## Other responses

- `400` — Error
- `401` — Unauthorized
- `404` — Error
- `500` — Server Error

---

[API](https://skmtc.dev/getswipe/apis/swipeapi.md) · [All operations](https://skmtc.dev/getswipe/apis/swipeapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getswipe/swipeapi/revisions/80fcaf1a3463/schema)
