Android · Arazzo Workflow
Android Verify and Acknowledge an In-App Product Purchase
Version 1.0.0
Validate a Google Play in-app product purchase token and acknowledge it before the three-day auto-refund window closes.
View Spec
View on GitHub
AIAndroidAutomotiveGoogleMachine LearningMobile DevelopmentSDKTVWearablesArazzoWorkflows
Provider
Workflows
verify-acknowledge-product-purchase
Verify an in-app product purchase token and acknowledge it if it is still unacknowledged.
Reads the purchase status for a product token, then acknowledges the purchase only when it is in purchaseState 0 (purchased) and acknowledgementState 0 (yet to be acknowledged). Already-acknowledged and cancelled or pending purchases short-circuit without a write.
1
verifyPurchase
getPurchaseProduct
Check the purchase and consumption status of the in-app product token. This is the authoritative server-side validation that the token is real and that Google Play considers the purchase complete.
2
acknowledgePurchase
acknowledgePurchaseProduct
Acknowledge the verified purchase so Google Play does not automatically refund it after three days. Grant the user their entitlement before or alongside this call.
3
confirmAcknowledgement
getPurchaseProduct
Read the purchase back to confirm Google Play now reports it as acknowledged, closing the loop on the entitlement grant.
Source API Descriptions
openapi