Android · Arazzo Workflow
Android Grant and Consume a Consumable Purchase
Version 1.0.0
Verify a consumable in-app purchase, acknowledge it, then consume it so the user can buy the item again.
View Spec
View on GitHub
Artificial IntelligenceAndroidAutomotiveGoogleMachine-LearningMobile DevelopmentSDKTVWearablesArazzoWorkflows
Provider
Workflows
grant-consumable-purchase
Verify, acknowledge, and consume a consumable in-app product purchase.
Validates the purchase token, acknowledges the purchase when it is still unacknowledged, consumes it, and reads the purchase back to confirm the consumption state flipped to consumed.
1
verifyPurchase
Validate the consumable purchase token and read its purchase and consumption state before granting anything to the user.
2
acknowledgePurchase
Acknowledge the purchase after the in-game currency or consumable entitlement has been credited to the user's account.
3
consumePurchase
Consume the purchase so the SKU becomes available for the user to buy again. Only call this once the entitlement has actually been granted.
4
confirmConsumption
Read the purchase back to confirm Google Play now reports the item as consumed and therefore repurchasable.
Source API Descriptions
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.