Agent Payments (MCP)
Agent Payments Infrastructure
Financial infrastructure for autonomous agents.
Agent-compatible financial infrastructure
Orangepill provides a Model Context Protocol (MCP) server that exposes financial capabilities to agents with strict policies and preflight checks.
- Discover products and quote payments
- Initiate purchases with idempotency and audit trails
- Read wallet balances and ledger history safely
Production-grade financial infrastructure
Built for fintech scale with secure orchestration and developer-first APIs.
MCP server overview
The MCP server is identified as orangepill-payments-mcp and uses mcp_session_token authentication, with optional OAuth for user-bound agents.
Sessions include tenant_id, project_id, agent_id, and policy_id to enforce
strict multi-tenant security.
MCP identity
- Server: orangepill-payments-mcp
- Auth: mcp_session_token
- Optional: OAuth for user-bound agents
MCP tool groups
Discovery & Quoting
Safe operations with no financial side effects.
Purchase & Settlement
Core commerce operations, with settlement typically system-triggered.
Wallet & Balance Access
Read-only balance visibility by default.
Admin & Inventory Tools
Privileged actions requiring elevated scopes.
MCP tool design principles
- Small tool surface with strict validation
- Idempotency keys for side effects
- Reason field required for audit logs
- Optional dry_run support
{
"name": "order_create",
"inputSchema": {
"required": ["items", "currency", "idempotencyKey", "reason"]
}
}Risk preflight sandbox
Before any financial action, agents call risk_preflight to receive an
allowed, requires_review, or blocked response.
Example agent flow
Agent policies
Agents operate under AgentIdentity and AgentPolicy with spend limits, merchant allowlists, and risk controls.
Policy constraints
- Allowed operations
- Spend limits
- Merchant allowlists
- Risk controls
{
"tool": "catalog_search",
"query": "event ticket"
}Agent discovers a product without financial side effects.
Developer example
Agents discover products, create orders, and initiate checkout through MCP tools.
const quote = await mcp.checkout_quote({
product_id: "ticket-123",
currency: "COP"
})
const order = await mcp.order_create({
items: [{ product_id: "ticket-123" }],
currency: "COP",
idempotencyKey: "order-123",
reason: "user purchase"
})Infrastructure for Agent Commerce
Orangepill allows applications to safely delegate financial actions to agents without exposing payment rails directly. Use MCP to enable agent-driven commerce with policy enforcement and auditability.
Start building with Orangepill
Get access to programmable financial infrastructure and launch faster.