Agent Payments Keep Budgets, Credentials, and Approval Outside the Model
LangChain and Stripe demonstrate Restock, a sample agent that buys office supplies from Slack through MPP and Link. It supports US delivery, USD, and one office per deployment, and is not a general shopping product.
What the source says
The user reviews the cart, fees, and upfront amount in Slack, then approves the same amount on Link. The budget is a ceiling the agent cannot exceed.
Payment methods and shared tokens stay out of model context. A token exists only during the sandbox command and is deleted afterward, while code verifies that the order matches a fresh approval.
The system confirms success only after the merchant reports order_placed. MPP APIs are more stable than browser checkout but work only with participating merchants.
Original source
This is AgentBee’s editorial digest and analysis of the source, not a reproduction of the full article.
LangChain · Official Blog ↗