Unity · Arazzo Workflow
Unity Economy Virtual Purchase
Version 1.0.0
Check a player's currency balances, make a virtual purchase, then confirm the resulting inventory.
View Spec
View on GitHub
Game DevelopmentReal-Time 3DMultiplayerGame ServicesCloud GamingArazzoWorkflows
Provider
Workflows
economy-virtual-purchase
Verify balances, purchase a virtual item, and confirm inventory.
Reads the player's currency balances, makes a virtual purchase by its configuration id, and reads the player inventory to confirm the purchased items were granted.
1
getBalances
Read all of the player's currency balances before the purchase so the caller can confirm the player can afford the cost.
2
purchase
Execute the virtual purchase, spending the player's currency or items and granting the purchase rewards.
3
confirmInventory
Read the player's inventory after the purchase to confirm the granted items are present.
Source API Descriptions
openapi
openapi
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.