---
title: "Get Purchase Info"
method: GET
path: "/api/v1/purchase"
tags: ["Purchase"]
---

# Get Purchase Info

`GET /api/v1/purchase`

## Request

- Base URL: `https://mockupper.damdafa.com/mockupper`
- URL: `https://mockupper.damdafa.com/mockupper/api/v1/purchase`
- Auth: HTTP bearer

Get available in-app purchase products.
Also sets up freemium credits for the user (authenticated or device-based).

Args:
    service: App-specific purchase service (injected)
    auth: Authentication context (optional)

Returns:
    InfoResponse with subscribable_skus and consumable_skus products

## Headers

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

## Response `200`

Successful Response

- PurchaseInfo: Purchase information with SKUs.
  - `subscribable_skus` string[], required
  - `consumable_skus` string[], required
  - `non_consumable_skus` string[]

## Other responses

- `422`: Validation Error

---

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