← 返回
开发者工具 Key 中文

AgentFin

Issue virtual Visa/MC cards funded by USDT. Check balance, get card credentials, fetch OTP codes — all via REST API.
发行由USDT充值的Visa/Mastercard虚拟卡。支持通过REST API查询余额、获取卡信息及接收OTP验证码。
elvismusli
开发者工具 clawhub v1.0.0 1 版本 99870.3 Key: 需要
★ 0
Stars
📥 770
下载
💾 9
安装
1
版本
#latest

概述

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

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)

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)

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

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

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.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 02:50 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,329
ai-intelligence

MoneyClaw

elvismusli
检查 MoneyClaw 钱包,创建有界支付任务,并使用预付账户继续用户已确认的支付步骤。仅在用户明确...
★ 1 📥 952
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 671 📥 324,340