---
title: "Get Subscription Status"
method: GET
path: "/api/v1/purchase/subscription-status"
tags: ["Purchase"]
---

# Get Subscription Status

`GET /api/v1/purchase/subscription-status`

## Request

- Base URL: `https://foto.damdafa.com/dreamhome`
- URL: `https://foto.damdafa.com/dreamhome/api/v1/purchase/subscription-status`
- Auth: HTTP bearer

Get the user's current subscription status.

Args:
    auth: Authenticated user context
    service: App-specific purchase service (injected)

Returns:
    PurchaseResponse with subscription status

## Headers

- `ProviderId` 'firebase' | 'google' | 'apple'
- `X-Provider-Id` 'firebase' | 'google' | 'apple'
- `X-Device-Id` string, nullable

## Response `200`

Successful Response

- SubscriptionStatus: User's subscription status.
  - `hasActiveSubscription` boolean, required
  - `subscriptions` SubscriptionDetails[], required
    - `productId` string, required
    - `isActive` boolean, required
    - `platform` string
    - `expiresAt` integer, nullable
    - `isRefunded` boolean, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/damdafa/apis/homedecor-api.md) · [All operations](https://skmtc.dev/damdafa/apis/homedecor-api/llms.txt) · [OpenAPI document](https://skmtc.dev/damdafa/apis/homedecor-api/revisions/372f33a6d18e?raw)
