---
title: "Restore Purchases"
method: POST
path: "/api/payments/restore"
tags: ["payments"]
---

# Restore Purchases

`POST /api/payments/restore`

## Request

- Base URL: `https://api.stellara.natlex.it` (the document declares no server; this is the origin it was published from)
- URL: `https://api.stellara.natlex.it/api/payments/restore`
- Auth: HTTP bearer

Restore subscription by re-verifying with Google Play.

## Request body

- RestoreRequest
  - `purchase_token` string, required
  - `platform` string

## Response `200`

Successful Response

- RestorePurchaseResponse
  - `status` string, required
  - `message` string, nullable
  - `subscription` SubscriptionInfo
    - `tier` string, required
    - `product_id` string, nullable
    - `expires_at` string, nullable
    - `subscription_status` string, nullable

## Other responses

- `422`: Validation Error

---

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