返回顶部
a

agentfin

Issue virtual Visa/MC cards funded by USDT. Check balance, get card credentials, fetch OTP codes — all via REST API.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
353
下载量
0
收藏
概述
安装方式
版本历史

agentfin

# AgentFin — Virtual Cards for Agents You have access to the AgentFin API. Use it to check your balance, get virtual card credentials for online purchases, and fetch OTP codes for 3DS verification. ## Authentication All requests require a Bearer token. Use the `AGENTFIN_API_KEY` environment variable. ``` Authorization: Bearer $AGENTFIN_API_KEY ``` Base URL: `https://agentfin.tech/api` ## Endpoints ### Check Balance & Card Status ```bash curl -H "Authorization: Bearer $AGENTFIN_API_KEY" \ https://agentfin.tech/api/me ``` Response includes `balance` (USD string), `card` object with `maskedPan` and `status`, and `depositAddress` for USDT top-ups. ### Get Card Credentials (for online purchases) ```bash curl -H "Authorization: Bearer $AGENTFIN_API_KEY" \ https://agentfin.tech/api/cards/{cardId}/sensitive ``` Returns `pan`, `cvv`, `expiryMonth`, `expiryYear`, `cardHolderName`, `billingAddress`. Rate limited to 10 requests/minute. **Important:** Use the `cardId` from the `/api/me` response (`card.cardId` field). ### Fetch Latest OTP Code (for 3DS verification) ```bash curl -H "Authorization: Bearer $AGENTFIN_API_KEY" \ https://agentfin.tech/api/inbox/latest-otp ``` Returns the most recent email with extracted OTP codes. The `extractedCodes` field is an array of strings. Use the first element as the verification code. If a purchase triggers 3DS, wait 10-30 seconds for the OTP email to arrive, then call this endpoint. ### Top Up Card Balance ```bash curl -X POST -H "Authorization: Bearer $AGENTFIN_API_KEY" \ -H "Content-Type: application/json" \ -d '{"amount": 50, "currency": "USD"}' \ https://agentfin.tech/api/cards/{cardId}/topup ``` Moves funds from your account balance to the card. The card is prepaid — you cannot spend more than the loaded amount. ### View Transaction History ```bash curl -H "Authorization: Bearer $AGENTFIN_API_KEY" \ https://agentfin.tech/api/me/transactions ``` Returns all deposits, card charges, top-ups, and refunds. ## Typical Purchase Flow 1. Check balance with `GET /api/me` — ensure sufficient funds 2. Get card credentials with `GET /api/cards/{cardId}/sensitive` 3. Use PAN, CVV, expiry to fill in payment form on merchant site 4. If 3DS is triggered, wait ~15 seconds then `GET /api/inbox/latest-otp` 5. Submit the OTP code from `extractedCodes[0]` 6. Purchase complete ## Important Notes - The card is **prepaid**. You cannot spend more than the loaded balance. - Card credentials are rate-limited (10/min). Cache them for the duration of a purchase session. - OTP codes arrive via email to a dedicated inbox. There may be a 10-30 second delay. - Fund the account by sending USDT (TRC20) to the deposit address from `GET /api/me`.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 agentfin-1776289799 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 agentfin-1776289799 技能

通过命令行安装

skillhub install agentfin-1776289799

下载 Zip 包

⬇ 下载 agentfin v1.0.0

文件大小: 1.9 KB | 发布时间: 2026-4-16 18:30

v1.0.0 最新 2026-4-16 18:30
Initial release — virtual Visa/MC cards for AI agents, funded by USDT

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部