Install
openclaw skills install agentpay-sdkInstall and operate the AgentPay SDK. Trigger this when an agent needs to install `agentpay`, explain AgentPay SDK capabilities without probing the machine first, set up or reuse a wallet, check funding, generate funding instructions or a QR, guide the user through policy changes in the TUI or exact admin CLI when explicitly requested, route manual approvals to the local admin approval commands, execute transfers, approvals, or broadcasts using the current CLI behavior instead of stale examples, or use supported plugin-backed merchant payment flows when explicitly relevant.
openclaw skills install agentpay-sdkUse this skill as an operator playbook. Do not make the user design command flows or policy objects from scratch.
If the user asks what this skill can do, answer from this list first. Do not probe the local machine unless the user is asking you to act.
agentpayagentpay and the AgentPay skill pack with the one-click installeragentpay --help and the relevant subcommand help as the source of truth when examples disagree.curl -fsSL https://wlfi.sh | bashcurl -fsSL https://wlfi.sh | bash -s -- --skills-onlycurl -fsSL https://wlfi.sh | bashpnpm install && npm run build && npm run install:cli-launcher && npm run install:rust-binariesagentpay admin setup, agentpay admin tui, agentpay admin reset, and agentpay admin uninstall are supported on macOS and Linux. The managed daemon uses launchd on macOS and system systemd on Linux. Agent auth storage uses macOS Keychain on macOS and Linux Secret Service on Linux.agentpay wallet --json is the wallet reuse check.agentpay admin setup is the first-run wallet setup path on macOS and Linux.agentpay bitrefill --help.agentpay admin set-relay-config and agentpay admin get-relay-config are legacy compatibility commands and return unsupported.agentpay admin setup --reuse-existing-wallet is the managed-daemon recovery / local re-setup path when the current vault should be preserved.agentpay admin setup --restore-wallet-from <PATH> restores the same wallet from an encrypted offline backup on macOS or Linux.agentpay admin wallet-backup export --output <PATH> creates an encrypted offline backup.sudo agentpay ....agentpay daemon directly.AgentPay uses a self-custodial local daemon wallet.
agentpay admin setuptransfer, transfer-native, approve, broadcast, x402, and mppagentpay mppbscUSD10x8d0D000Ee44948FC98c9B98A4FA4921476f08B0dBNBVAULT_PASSWORD into chat.agentpay admin setup locally and follow the secure prompt there.agentpay admin wallet-backup export --output <PATH> unless the user already has a verified backup.agentpay admin setup --reuse-existing-wallet locally.agentpay admin setup --restore-wallet-from <PATH> locally.agentpay admin tui on macOS or Linux.agentpay transfer --broadcast, agentpay transfer-native --broadcast, agentpay approve --broadcast, and agentpay bitrefill buy --broadcast keep the original CLI process alive while waiting for manual approval. Do not tell the user to rerun those commands after approving.agentpay admin resume-manual-approval-request --approval-request-id <UUID> instead of reconstructing the transaction by hand.What This Skill Covers and stop there.agentpay config show --json.agentpay wallet --json to check wallet status.agentpay admin setup locally.agentpay admin setup --reuse-existing-wallet.agentpay admin setup --restore-wallet-from <PATH>.agentpay admin tui.transfer --broadcast, transfer-native --broadcast, approve --broadcast, and bitrefill buy --broadcast, tell the user to keep that original command running while they approve it.bsc and USD1 before asking follow-up questions.--broadcast.USD1 for value and BNB for gas.qrUrl as fallbackagentpay bitrefill buy ... and add --broadcast only when the user wants to pay immediately.amount as the raw onchain base-unit integer, not a human-decimal amount. Examples: ETH base units are wei, and amount: 1000000 with decimals: 6 means 1 USDC.agentpay bitrefill buy --broadcast pays through the existing Rust daemon signing path. It is not a separate wallet flow.agentpay wallet --jsonagentpay admin setupagentpay admin setup --reuse-existing-walletagentpay admin setup --restore-wallet-from <PATH>agentpay admin wallet-backup export --output <PATH>agentpay admin wallet-backup verify <PATH>agentpay transfer-native --network <name> --to <address> --amount <amount>agentpay transfer --network <name> --token <address> --to <address> --amount <amount>agentpay approve --network <name> --token <address> --spender <address> --amount <amount>agentpay broadcast --network <name> --to <address> --value-wei <wei> ...agentpay tx broadcast --network <name> --rpc-url <url> --from <address> --to <address> --value-wei <wei> ...agentpay admin tuiagentpay admin token set-chain <tokenKey> <chainKey> --per-tx <amount> --daily <amount> --weekly <amount> [--vault-password-stdin] [--non-interactive]agentpay admin add-manual-approval-policy --network <id> --min-amount-wei <wei> --max-amount-wei <wei> ...agentpay admin list-manual-approval-requestsagentpay admin approve-manual-approval-request or agentpay admin reject-manual-approval-requestagentpay admin resume-manual-approval-request --approval-request-id <UUID>agentpay bitrefill search --query <text>agentpay bitrefill product --slug <slug>agentpay bitrefill buy --slug <slug> --amount <value> [--payment-method <method>]availablePaymentMethods[].amount is the raw onchain base-unit integer.agentpay bitrefill buy --slug <slug> --amount <value> --payment-method <method> --email <email> --broadcast [--no-wait]payment.amount is the raw onchain base-unit integer.agentpay bitrefill invoice listagentpay bitrefill invoice get --invoice-id <id> [--access-token <token>]agentpay bitrefill invoice wait --invoice-id <id> [--access-token <token>] [--timeout <sec>]agentpay admin tui.agentpay admin token set-chain ...; it updates saved config and attempts to refresh the live daemon attachment for the existing wallet.agentpay admin token set-chain ... needs a local vault-password prompt or --vault-password-stdin. If the live apply step fails, do not claim the saved config or daemon policy changed.VAULT_PASSWORD in chat for policy work. If the CLI or UI prompts locally, that secure prompt happens outside chat.transfer --broadcast, transfer-native --broadcast, approve --broadcast, and bitrefill buy --broadcast, tell the user not to rerun the original command after approval. The CLI polls every 2 seconds for up to 5 minutes and continues automatically if the same approval request is approved.agentpay admin resume-manual-approval-request --approval-request-id <UUID>.agentpay broadcast and other non-auto-waiting flows still print approval details and exit.agentpay admin list-manual-approval-requestsagentpay admin approve-manual-approval-request --approval-request-id <UUID>agentpay admin resume-manual-approval-request --approval-request-id <UUID>agentpay admin reject-manual-approval-request --approval-request-id <UUID> --rejection-reason <TEXT>AgentPay can pay for any MPP-enabled API using agentpay mpp. No API keys or accounts are needed — payment happens inline via the HTTP 402 protocol. The CLI resolves the payment chain from the server challenge and supports any EVM-compatible network.
https://mpp.dev/services/llms.txt. Do not rely on a static in-repo service directory.--amount is optional. When omitted, the CLI pays the server's challenge amount automatically. When provided, the CLI verifies the challenge amount matches before paying.mpp supports charge on any EVM-compatible chain.