PayGents (OpenClaw)
This plugin provides OpenClaw tools that call the PayGents backend (POST /api/commands).
Tools
- •
agent_wallet_register(one-time tenant registration) - •
agent_wallet_request_payment - •
agent_wallet_get_intent - •
agent_wallet_list_intents - •
agent_wallet_get_policy - •
agent_wallet_set_policy
Typical Flow
- •When the user wants to buy something, call
agent_wallet_request_payment. - •Send the returned
approvalUrlto the user as a button link. - •The user approves on the web page (passkey).
- •Poll with
agent_wallet_get_intentuntil status isEXECUTED, then confirm to the user with the tx hash.
Notes
- •Passkeys require HTTPS and a real browser (not most in-app browsers like Telegram/Discord).
- •Set guardrails early via
agent_wallet_set_policy(max amount, allowlists).