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
| Namespace | What it does | Methods |
|---|---|---|
@provenanceauth/rails/checkout | Plain web checkout. | 13 |
@provenanceauth/rails/acp | ACP (Agentic Commerce Protocol) mapping + merchant verification. | 16 |
@provenanceauth/rails/x402 | X402 (HTTP 402 agent payments) mapping + merchant verification. | 12 |
@provenanceauth/rails/ap2 | AP2 (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 |