How Tierux protects purchase data — from verification through storage to client integration.
Google Play purchases are verified through Google Play's Android Publisher API. Apple signed-JWS and certificate-chain validation verifies App Store transactions, while App Store Server Notifications drive subscription lifecycle sync. Client results are untrusted; Tierux derives normalized entitlement state from verified store data. Apple App Store support is implemented with limitations — see platform support.
Raw purchase tokens are never persisted. Tierux stores a SHA-256 hash of the token for deduplication and an AES-256-GCM encrypted copy so it can re-verify the purchase against the store on renewal or recovery. Normalized entitlement state is stored; the raw token never is.
The client SDK uses an identity token + backend proxy pattern — the spe_ API key never ships to a device. Client code contains no secret material to extract or reverse-engineer.
Encrypted purchase-token copies support store verification and recovery without persisting raw tokens. Google Play refreshes use the Android Publisher API; Apple lifecycle updates arrive through validated App Store Server Notifications. Encrypted copies are protected at rest with AES-256-GCM.
Your data is yours. The REST API serves your subscriber list, entitlement state, and purchase history — always accessible, always exportable. No vendor approval required.
Real-time developer notifications from Google Play are validated via JWT: the audience claim must match the configured RTDN endpoint, and the email claim is verified against the expected Pub/Sub service account (RTDN_AUDIENCE and RTDN_PUBSUB_SERVICE_ACCOUNT). Apple App Store Server Notifications are decoded and verified with Apple's signed-data verifier before lifecycle changes are applied.