billing

Restore Store Purchases

Re-verify the caller's prior store purchases and re-link them to the account.

Reinstall / new-device flow: the client gathers its current store entitlements (StoreKit currentEntitlements / Play queryPurchases) and sends them here; the server re-verifies each against the store and provisions the active ones. Idempotent — restoring an already-linked purchase does not duplicate it.

post/api/billing/store/restore

Request

  • Base URL: https://api.retirementlab.app (the document declares no server; this is the origin it was published from)
  • URL: https://api.retirementlab.app/api/billing/store/restore
  • Auth: HTTP bearer

Request body

platform'ios' | 'android' required

Response

Successful Response

restoredinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.