feat(action-providers): add x402receipts (reconciled, auditable receipts for x402 spending) - #1523
Open
giacomochinellato wants to merge 1 commit into
Open
giacomochinellato wants to merge 1 commit into
giacomochinellato wants to merge 1 commit into
Conversation
…pts for x402 spending)
🟡 Heimdall Review Status
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A new action provider,
x402receipts, that gives an agent an accounting-grade record of its own x402 spending.get_x402receipts_info— endpoint, price and payment options (pays nothing)record_x402_receipts— record 1–500 purchases as receipts on https://x402receipts.com; USD 1 per wallet per calendar month, paid by the agent's wallet over x402 (USDC on Base or Solana), later uploads that month are freeverify_x402_receipt— public verification material for one receipt (hash, Merkle path, Hedera ledger entry); pays nothingReceipts are reconciled against the wallet's on-chain USDC payments, and finance gets a monthly statement with exports. The paying wallet is the account; no API key.
How
Follows the layout and the x402 client wiring of
action-providers/x402(samecreateX402Clientpattern for EVM and SVM wallet providers). Supported networks: base-mainnet, base-sepolia, solana-mainnet, solana-devnet. README and a small test included; changeset added.Links
Service: https://x402receipts.com · Docs for agents: https://app.x402receipts.com/llms.txt · OpenAPI: https://app.x402receipts.com/openapi.json · Bazaar-listed resource:
POST https://app.x402receipts.com/api/v1/receipts.Happy to adjust naming, schemas or tests to match maintainers' preferences.