What problem does it solve? Client-side purchase checks can be bypassed, so backend systems need a reliable way to confirm that users actually paid, acknowledge purchases before Google auto-refunds them, and react to subscription lifecycle events like cancellations, refunds, and expirations. ## Core Features & Use Cases - Purchase Verification: Query in-app product and subscription purchase states via the Google Play Developer API (including the recommended subscriptionsv2 endpoint), then acknowledge or consume purchases. - Subscription Lifecycle Management: Cancel, defer, and revoke subscriptions, decode Real-time Developer Notifications (RTDN) from Pub/Sub, and list voided purchases to remove entitlements. - Order Operations: Retrieve or batch-retrieve order details and issue refunds with a mandatory confirmation flag. - Use Case: A backend developer adds a /verify-purchase endpoint in Node.js or Python that validates a purchase token with Google, acknowledges the purchase within the 3-day window, and grants the user access only after verification succeeds. ## Quick Start Ask the agent to verify a Google Play purchase token for your package and product ID and show the backend code to acknowledge it.