---
title: "Get in-app purchase context"
method: GET
path: "/premium/store"
tags: ["Premium"]
---

# Get in-app purchase context

`GET /premium/store`

Returns the account token and the App Store and Google Play products the mobile apps may sell, plus the reason a new subscription is blocked, if any.

## Response `200`

Success

- StoreBillingContextResponse
  - `app_account_token` string, required — Lowercase UUID for this account. Pass it as appAccountToken on App Store purchases and as obfuscatedAccountId on Google Play purchases
  - `app_store` object, required — App Store purchase settings
    - `enabled` boolean, required — Whether App Store purchases are accepted
    - `bundle_ids` string[], required — App bundle identifiers whose purchases are accepted
    - `products` StoreBillingAppStoreProductResponse[], required — App Store products on sale
      - `product_id` string, required — App Store product identifier
      - `slot` 'monthly' | 'yearly' | 'gift_1_month' | 'gift_1_year', required
  - `google_play` object, required — Google Play purchase settings
    - `enabled` boolean, required — Whether Google Play purchases are accepted
    - `package_names` string[], required — App package names whose purchases are accepted
    - `products` StoreBillingGooglePlayProductResponse[], required — Google Play products on sale
      - `product_id` string, required — Google Play product identifier
      - `base_plan_id` string, nullable, required — Google Play base plan identifier, null for one-time products
      - `slot` 'monthly' | 'yearly' | 'gift_1_month' | 'gift_1_year', required
  - `purchase_blocked_reason` 'lifetime' | 'existing_subscription' | 'purchase_disabled', required
  - `blocking_provider` 'stripe' | 'app_store' | 'google_play', required

## Other responses

- `400` — Bad Request - The request was malformed or contained invalid data
- `401` — Unauthorized - Authentication is required or the token is invalid
- `403` — Forbidden - You do not have permission to perform this action
- `429` — Too Many Requests - You are being rate limited
- `500` — Internal Server Error - An unexpected error occurred

## Changes

> 28 revisions in range; 2 not diffed.

- **2026-09-30** `40c2a0ac7de9` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/fluxer/apis/fluxer-api/changes/premium/store/get.md)

---

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