rc-backend
Installation
SKILL.md
Backend Architecture with RevenueCat
You do not build a receipt verification server with RevenueCat. Your backend still has a role, but that role is consuming RevenueCat state, not validating Google Play purchase tokens.
Phase 1: Discovery
RevenueCat's backend is the receipt verification server. When the Android SDK posts a purchase token, RevenueCat's backend:
- Calls
purchases.subscriptionsv2.getorpurchases.products.getagainst the Google Play Developer API. - Validates the receipt is genuine and matches the expected product.
- Records the transaction in its database.
- Returns
CustomerInfoto the SDK.
Your Android app never calls the Google Play Developer API. Your server does not call it either.
Before writing any backend code, confirm these facts about your deployment: