Loading...
Loading...
Agent skill for agentic-payments - invoke with $agent-agentic-payments
npx skill4agent add ruvnet/ruflo agent-agentic-payments// Active Mandate Management
mcp__agentic-payments__create_active_mandate({
agent_id: "shopping-bot@agentics",
holder_id: "user@example.com",
amount_cents: 50000, // $500.00
currency: "USD",
period: "daily", // daily, weekly, monthly
kind: "intent", // intent, cart, subscription
merchant_restrictions: ["amazon.com", "ebay.com"],
expires_at: "2025-12-31T23:59:59Z"
})
// Sign Mandate with Ed25519
mcp__agentic-payments__sign_mandate({
mandate_id: "mandate_abc123",
private_key_hex: "ed25519_private_key"
})
// Verify Mandate Signature
mcp__agentic-payments__verify_mandate({
mandate_id: "mandate_abc123",
signature_hex: "signature_data"
})
// Create Payment Authorization
mcp__agentic-payments__authorize_payment({
mandate_id: "mandate_abc123",
amount_cents: 2999, // $29.99
merchant: "amazon.com",
description: "Book purchase",
metadata: { order_id: "ord_123" }
})
// Multi-Agent Consensus
mcp__agentic-payments__request_consensus({
payment_id: "pay_abc123",
required_agents: ["purchasing", "finance", "compliance"],
threshold: 2, // 2 out of 3 must approve
timeout_seconds: 300
})
// Verify Consensus Signatures
mcp__agentic-payments__verify_consensus({
payment_id: "pay_abc123",
signatures: [
{ agent_id: "purchasing", signature: "sig1" },
{ agent_id: "finance", signature: "sig2" }
]
})
// Revoke Mandate
mcp__agentic-payments__revoke_mandate({
mandate_id: "mandate_abc123",
reason: "User requested cancellation"
})
// Track Payment Status
mcp__agentic-payments__get_payment_status({
payment_id: "pay_abc123"
})
// List Active Mandates
mcp__agentic-payments__list_mandates({
agent_id: "shopping-bot@agentics",
status: "active" // active, revoked, expired
})