How Tierux verifies Apple App Store purchases using StoreKit 2 JWS — server-side signature verification, certificate chain validation, and entitlement normalization.
Apple's StoreKit 2 returns a signed JWS (JSON Web Signature) for each transaction. This JWS contains the full transaction payload and is signed by Apple. Tierux verifies this signature server-side — your backend never trusts an unverified client claim.
After your iOS app captures a StoreKit 2 transaction, send the JWS representation and transaction ID to your backend, which forwards them to Tierux for server-side verification.
// Your backend calls Tierux curl -X POST https://tierux.com/api/v1/purchases/apple/verify \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "appId": "app_123", "userId": "user_abc", "transactionId": "2000000012345678", "jwsRepresentation": "eyJhbGciOiJFUzI1NiIs..." }'
Tierux performs the full verification chain server-side:
// 200 OK response { "ok": true, "userId": "user_abc", "entitlement": "pro", "active": true, "expiresAt": "2026-08-01T00:00:00.000Z", "status": "active", "platform": "apple" }
Tierux also handles Apple's App Store Server Notifications v2 (JWS-signed) to keep entitlement state current — renewal, expiry, billing retry, refund notifications are processed automatically.
Tierux doesn't need your App Store Connect credentials for signed-JWS verification. For production Apple verification, provide both the Bundle ID and App Apple ID during Tierux project setup. App Store Connect product and notification setup remains manual; Tierux then validates StoreKit 2 JWS transactions against Apple's public certificates and processes signed lifecycle notifications.
How Tierux handles purchase tokens — hashing, encryption, and verification across platforms.
Google Play real-time developer notification handling and entitlement state sync.
Checklist for Tierux configuration, required App Store Connect work, REST integration, and purchase verification.
Tierux exposes one API with two store-specific verification endpoints and normalized entitlements: Google Play purchases use the Google Play endpoint; StoreKit 2 transactions use the Apple endpoint.
Free tier — unlimited apps, 1 paywall. No credit card, no revenue share.
Start free