View as Markdown

SDK reference · Rails

Rails

@provenanceauth/rails: agent payments and checkouts on ACP, x402, AP2, deals, tabs and disputes. Every namespace and method.

Package: @provenanceauth/rails. Install it as on SDKs.

Namespaces

NamespaceWhat it doesMethods
@provenanceauth/rails/checkoutPlain web checkout.13
@provenanceauth/rails/acpACP (Agentic Commerce Protocol) mapping + merchant verification.16
@provenanceauth/rails/x402X402 (HTTP 402 agent payments) mapping + merchant verification.12
@provenanceauth/rails/ap2AP2 (Agent Payments Protocol) mapping + verification.17
@provenanceauth/rails/a2a@provenanceauth/rails/a2a, handing a Provenance grant to another agent over A2A.11
@provenanceauth/rails/mcp@provenanceauth/rails/mcp, handing a Provenance grant to another agent over MCP.5
@provenanceauth/rails/deals@provenanceauth/rails/deals, agent-to-agent commerce.20
@provenanceauth/rails/tabs@provenanceauth/rails/tabs, tabs for small, frequent payments between agents.7
@provenanceauth/rails/mandates@provenanceauth/rails/mandates, checking another agent's authority.4
@provenanceauth/rails/disputes@provenanceauth/rails/disputes, check an agent-dispute bundle offline, for a seller, a buyer or a rail that receives the export from GET /v1/authorize/disputes/:id/bundle.2
@provenanceauth/rails/discovery@provenanceauth/rails/discovery: put a business's signed discovery profile into the answers agents already read.1