v1

latestOpenAPI 3.1.02026-07-139674137.3 KB
App Store

Sync App Store subscription (StoreKit)

DEPRECATED: iOS migrated to Stripe-only paywall (SRI-102). Legacy StoreKit clients may still call this; receives no traffic from current builds. Slated for removal after two releases of zero hits — see issue #364. Persists App Store subscription data after StoreKit reports a purchase.

post/api/appstore/sync

Request body

environment'Production' | 'Sandbox'
expiresAtstring required
latestTransactionIdstring nullable
originalTransactionIdstring required
productIdstring required

Response

Subscription created or updated

action'created' | 'transferred' | 'updated' required
successtrue required
subscriptionIdstring required