The agent securely completes a purchase using a scoped virtual card after obtaining explicit human approval, ensuring no real card details are exposed.
The agent identifies a purchase need and calls request_purchase_approval with the expected cost, merchant, and reason. It then polls wait_for_purchase_approval until the human approves or denies the request. Upon approval, the agent retrieves the checkout context via get_checkout_context to obtain shipping and billing details. Finally, it completes the transaction using its own checkout capabilities, reporting the result back to the user.
- Category: Commerce
- Effect: Moves money or places orders
- MCP servers: Allowance MCP (https://koskamo.com/explore/allowance-mcp)
- Source: Allowance MCP documentation (https://mcp.useallowance.com/docs)
- Source quote: "Allowance lets agents request scoped human approval, receive limited virtual cards, complete checkout, and report receipts without exposing the human's real card."
- Playbook page: https://koskamo.com/explore/use-cases/execute-agent-powered-purchase-with-human-approval
Prompt: Buy a copy of 'The Pragmatic Programmer' from Amazon for $45. Please approve the purchase request so I can complete the checkout.