AlgoVoi Payment Agent
v1.0.0• AlgoVoi
Multi-chain, multi-protocol crypto payment verification agent. Verifies on-chain payments (Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo) and gates access to resources using x402, MPP (IETF), or AP2 (Google Agentic Payments) protocols.
Skills
-
Verify On-Chain Payment
Verify that a blockchain transaction satisfies the payment requirements for a gated resource. Supports x402, MPP, and AP2 protocols on Algorand, VOI, Hedera, Stellar, Base, Solana, and Tempo networks. Returns verified=true and an access_token JWT on success.
paymentblockchainverificationx402mppap2 -
Create Hosted Checkout
Create a hosted payment link for a given amount. Returns a checkout URL and token that an end-user can open to complete payment. Input: amount (major fiat units, e.g. 9.99), currency (ISO 4217, e.g. GBP), label (description), preferred_network (optional), redirect_url (optional). Supported networks: algorand_mainnet, voi_mainnet, hedera_mainnet, stellar_mainnet, base_mainnet, solana_mainnet, tempo_mainnet.
paymentcheckouthostedpayment-link -
Check Payment Status
Poll the payment status of a checkout link. Input: token (the URL slug from create-checkout, e.g. 'uW9MJN-abc123' — NOT the UUID id field). Returns status: active | paid | expired | cancelled.
paymentstatuspolling -
Post Twitter Checkout
Create a hosted checkout link and post it as a reply to a tweet (or as a new tweet) using the tenant's connected X bot credentials. Input: amount (major fiat units), currency (ISO 4217), tweet_id (optional — reply target), label (optional), preferred_network (optional). Returns checkout_url, token, and tweet_id of the posted reply.
paymentcheckouttwitterxsocial
Integration
import asyncio
from a2a_registry import AsyncRegistry
async def main():
async with AsyncRegistry() as registry:
agent = await registry.get_by_id("f9da91fd-c17c-4dd2-8349-f5fd53108d5c")
client = await agent.async_connect()
print(f"Connected to {agent.name}")
asyncio.run(main())