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

# Get subscription details

`GET /v1/subscriptions/{subscription_hash_id}`

## Request

- Base URL: `https://app.getswipe.in/api/partner`
- URL: `https://app.getswipe.in/api/partner/v1/subscriptions/{subscription_hash_id}`
- Auth: HTTP bearer

**v1 is deprecated — use the v2 endpoint instead.** Returns one subscription's details, including the invoices generated from it so far.

## Query parameters

- `num_records` string
- `page` integer

## Response `200`

Subscription fetched successfully

- GetSubscriptionInvoices
  - `success` boolean: Success flag
  - `message` string: Message
  - `error_code` string: Error code
  - `errors` object: Error details
  - `data` SubscriptionData
    - `invoices` Invoice[]: 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

## Other responses

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

## Changes

- **2026-11-03** `0bcdbc62187b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/getswipe/apis/swipeapi/changes/v1/subscriptions/:subscription_hash_id/get.md)

---

[API](https://skmtc.dev/getswipe/apis/swipeapi.md) - [All operations](https://skmtc.dev/getswipe/apis/swipeapi/llms.txt) - [OpenAPI document](https://skmtc.dev/getswipe/apis/swipeapi/revisions/0bcdbc62187b?raw)
