# Send AgentFin to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "agentfin",
    "name": "AgentFin",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/elvismusli/agentfin",
    "canonicalUrl": "https://clawhub.ai/elvismusli/agentfin",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/agentfin",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=agentfin",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "agentfin",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T13:49:00.929Z",
      "expiresAt": "2026-05-06T13:49:00.929Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=agentfin",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=agentfin",
        "contentDisposition": "attachment; filename=\"agentfin-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "agentfin"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/agentfin"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/agentfin",
    "downloadUrl": "https://openagent3.xyz/downloads/agentfin",
    "agentUrl": "https://openagent3.xyz/skills/agentfin/agent",
    "manifestUrl": "https://openagent3.xyz/skills/agentfin/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/agentfin/agent.md"
  }
}
```
## Documentation

### 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

### 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

Check balance with GET /api/me — ensure sufficient funds
Get card credentials with GET /api/cards/{cardId}/sensitive
Use PAN, CVV, expiry to fill in payment form on merchant site
If 3DS is triggered, wait ~15 seconds then GET /api/inbox/latest-otp
Submit the OTP code from extractedCodes[0]
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.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: elvismusli
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-29T13:49:00.929Z
- Expires at: 2026-05-06T13:49:00.929Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/agentfin)
- [Send to Agent page](https://openagent3.xyz/skills/agentfin/agent)
- [JSON manifest](https://openagent3.xyz/skills/agentfin/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/agentfin/agent.md)
- [Download page](https://openagent3.xyz/downloads/agentfin)