Loading...
Loading...
Use this skill when the user wants to purchase a virtual debit card using crypto, create a prepaid card via x402 protocol, check virtual card status, or set up an EVM wallet for card payments. Trigger on: "buy a card", "get a virtual card", "create card", "card status", "setup wallet for card", or any intent involving purchasing virtual Visa/Mastercard with cryptocurrency.
npx skill4agent add aeon-project/x402-card x402-cardnpx @aeon-ai-pay/x402-card# First time: provide your EVM wallet private key (service URL has a built-in default)
npx @aeon-ai-pay/x402-card setup --private-key 0x...
# Show current config
npx @aeon-ai-pay/x402-card setup --show
# Create a virtual card ($5 USD, auto-poll status)
npx @aeon-ai-pay/x402-card create --amount 5 --poll
# Check card status
npx @aeon-ai-pay/x402-card status --order-no <orderNo>
# Check wallet balance
npx @aeon-ai-pay/x402-card wallet~/.x402-card/config.jsonprivateKey--private-key--service-urlEVM_PRIVATE_KEYX402_CARD_SERVICE_URL~/.x402-card/config.jsonsetupnpx @aeon-ai-pay/x402-card upgrade --check"upToDate": true"upToDate": falsenpx @aeon-ai-pay/x402-card upgradenpx @aeon-ai-pay/x402-card setup --check"ready": true"ready": falseprivateKey"Please provide your EVM wallet private key (BSC network). It will be stored locally at ~/.x402-card/config.json with restricted file permissions and never transmitted elsewhere."
npx @aeon-ai-pay/x402-card setup --private-key <key>orderNosetup# Update private key
npx @aeon-ai-pay/x402-card setup --private-key <new-key>
# Update service URL (optional, only if user explicitly requests)
npx @aeon-ai-pay/x402-card setup --service-url <new-url>setup --show0x...last4"error": "Insufficient USDT balance"Wallet USDT balance is insufficient.
- Required: {required}
- Available: {available}
- Shortfall: {shortfall}
Please transfer at least {shortfall} USDT (BEP-20) to your wallet:
{address}
Note: Send USDT on the BSC (BNB Smart Chain) network only. Transfers on other networks (ERC-20, TRC-20, etc.) will result in loss of funds.
After depositing, run the card creation again.