{"_id":"@asgpay/agent-cash","_rev":"2-e14578826b0b6fe55aa7b1e26405c107","name":"@asgpay/agent-cash","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@asgpay/agent-cash","version":"1.0.0","keywords":["asg-pay","asgpay","agent-cash","ai-credit-card","virtual-card","agent-wallet","stripe-issuing","mastercard","x402","mpp","machine-payments","autonomous-agent","fintech","ai-payments","asgcard"],"author":{"name":"ASG Compute","email":"aidar@asgcompute.com"},"license":"MIT","_id":"@asgpay/agent-cash@1.0.0","maintainers":[{"name":"asgcard","email":"aidar@asgcompute.com"}],"homepage":"https://asgcard.dev","bugs":{"url":"https://github.com/ASGCompute/asgcard-public/issues"},"dist":{"shasum":"e40ed0871b18986182242275489209af3506d9e3","tarball":"https://registry.npmjs.org/@asgpay/agent-cash/-/agent-cash-1.0.0.tgz","fileCount":3,"integrity":"sha512-+hpP/JUkgYlZu2LyawjivbfVOzNSKWHj2s2AotOKoDWbe+StaGhS1m1et0bgHvOSkUy9UtAxUSDIQdyOSPurCQ==","signatures":[{"sig":"MEYCIQDaYKhWldG9Zgg6vQut0eRkOE60Zc9z8yt+qaoCQeGAjQIhAO2bAW7efAnYWJHJGI6YLtcSUSJo+EiTPBfcwMca6Ys9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3302},"main":"index.js","_npmUser":{"name":"asgcard","email":"aidar@asgcompute.com"},"repository":{"url":"git+https://github.com/ASGCompute/asgcard-public.git","type":"git"},"_npmVersion":"10.9.2","description":"ASG Pay Agent Cash — give your AI agents autonomous virtual credit cards (Mastercard) via Stripe Issuing. x402 & MPP compatible. Part of the ASG Pay ecosystem.","directories":{},"_nodeVersion":"22.15.0","dependencies":{"@asgcard/agent-cash":"^1.0.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/agent-cash_1.0.0_1775340566087_0.8870996433204412","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@asgpay/agent-cash","version":"1.0.1","description":"ASG Pay Agent Cash — give your AI agents autonomous virtual credit cards (Mastercard) via Stripe Issuing. x402 & MPP compatible. Part of the ASG Pay ecosystem.","main":"index.js","keywords":["asg-pay","asgpay","agent-cash","ai-credit-card","virtual-card","agent-wallet","stripe-issuing","mastercard","x402","mpp","machine-payments","autonomous-agent","fintech","ai-payments","asgcard"],"author":{"name":"ASG Compute","email":"aidar@asgcompute.com"},"license":"MIT","homepage":"https://asgcard.dev","repository":{"type":"git","url":"git+https://github.com/ASGCompute/asgcard-public.git"},"bugs":{"url":"https://github.com/ASGCompute/asgcard-public/issues"},"dependencies":{"@asgcard/agent-cash":"^1.0.4"},"publishConfig":{"access":"public"},"_id":"@asgpay/agent-cash@1.0.1","_nodeVersion":"22.15.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-3USNu0hoAqrrMhLs2iBF40frcYH2FshbameTuG5K8m82UPStug6VuukAF5l39YWnBPfMPm7J9Zq240YKh1U2nw==","shasum":"e5147c1324cac06e691d90a89583b6d0eec2e712","tarball":"https://registry.npmjs.org/@asgpay/agent-cash/-/agent-cash-1.0.1.tgz","fileCount":3,"unpackedSize":3785,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHX23kbw3hY22Y6kF2eodsI+3fV4Xlr7HhLvg19Y95u5AiEAyltjZhzlNIU4PodpW7ZddcdeTXiWLbnW7UhPhx324j4="}]},"_npmUser":{"name":"asgcard","email":"aidar@asgcompute.com"},"directories":{},"maintainers":[{"name":"asgcard","email":"aidar@asgcompute.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/agent-cash_1.0.1_1775341853097_0.7757042893262784"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-04T22:09:26.009Z","modified":"2026-04-04T22:30:53.375Z","1.0.0":"2026-04-04T22:09:26.207Z","1.0.1":"2026-04-04T22:30:53.229Z"},"bugs":{"url":"https://github.com/ASGCompute/asgcard-public/issues"},"author":{"name":"ASG Compute","email":"aidar@asgcompute.com"},"license":"MIT","homepage":"https://asgcard.dev","keywords":["asg-pay","asgpay","agent-cash","ai-credit-card","virtual-card","agent-wallet","stripe-issuing","mastercard","x402","mpp","machine-payments","autonomous-agent","fintech","ai-payments","asgcard"],"repository":{"type":"git","url":"git+https://github.com/ASGCompute/asgcard-public.git"},"description":"ASG Pay Agent Cash — give your AI agents autonomous virtual credit cards (Mastercard) via Stripe Issuing. x402 & MPP compatible. Part of the ASG Pay ecosystem.","maintainers":[{"name":"asgcard","email":"aidar@asgcompute.com"}],"readme":"<h1 align=\"center\">@asgpay/agent-cash</h1>\n<h3 align=\"center\">Autonomous Virtual Credit Cards for AI Agents</h3>\n\n<p align=\"center\">\n  <a href=\"https://www.npmjs.com/package/@asgpay/agent-cash\"><img src=\"https://img.shields.io/npm/v/@asgpay/agent-cash?style=flat-square&color=635bff\" alt=\"npm\" /></a>\n  <a href=\"https://www.npmjs.com/package/@asgpay/agent-cash\"><img src=\"https://img.shields.io/npm/dm/@asgpay/agent-cash?style=flat-square&color=22c55e\" alt=\"downloads\" /></a>\n  <img src=\"https://img.shields.io/badge/part%20of-ASG%20Pay-7c5cfc?style=flat-square\" alt=\"ASG Pay\" />\n</p>\n\n---\n\n## What is @asgpay/agent-cash?\n\n**@asgpay/agent-cash** gives AI agents autonomous virtual credit cards (Mastercard) via Stripe Issuing. Your agent gets a real card number to pay for APIs, SaaS subscriptions, and web services — without human intervention.\n\nx402 & MPP compatible. Part of the **[ASG Pay](https://npmjs.com/package/@asgpay/pay)** ecosystem.\n\n## Install\n\n```bash\nnpm install @asgpay/agent-cash\n```\n\n## Quick Start\n\n```typescript\nimport { AgentCash } from '@asgpay/agent-cash';\n\nconst cash = new AgentCash({ apiKey: process.env.ASG_API_KEY! });\n\n// Create virtual card for the agent\nconst card = await cash.issueCard({\n  name: 'Data Analyst Agent',\n  limit: 200,\n});\n\n// Agent now has a real Mastercard to pay for services\nconsole.log(`Card: **** ${card.last4}, Exp: ${card.exp}`);\n```\n\n## Use Cases\n\n- **API payments** — Agent uses card to pay for premium API access\n- **SaaS subscriptions** — Agent subscribes to tools it needs\n- **Cloud compute** — Agent provisions and pays for compute resources\n- **Data purchases** — Agent buys datasets from marketplaces\n\n## ASG Pay Ecosystem\n\n| Package | Purpose |\n|---------|---------|\n| **[@asgpay/pay](https://npmjs.com/package/@asgpay/pay)** | Multi-chain payment SDK (x402 + MPP) |\n| **[@asgpay/sdk](https://npmjs.com/package/@asgpay/sdk)** | Virtual Mastercard management |\n| **[@asgpay/cli](https://npmjs.com/package/@asgpay/cli)** | Card creation & management CLI |\n| **[@asgpay/mcp-server](https://npmjs.com/package/@asgpay/mcp-server)** | AI agent tools (Claude, Codex, Cursor) |\n| **[@asgpay/fund](https://npmjs.com/package/@asgpay/fund)** | One-link agent wallet funding |\n| **[@asgpay/agent-cash](https://npmjs.com/package/@asgpay/agent-cash)** | ← You are here. Virtual cards. |\n| **[@asgpay/create-app](https://npmjs.com/package/@asgpay/create-app)** | Project scaffolding |\n\n## Links\n\n- 🌐 [asgcard.dev](https://asgcard.dev) · 📦 [@asgpay/pay](https://npmjs.com/package/@asgpay/pay) · 𝕏 [@ASGCardx402](https://x.com/ASGCardx402)\n\n---\n\n<p align=\"center\"><sub>Part of <a href=\"https://npmjs.com/package/@asgpay/pay\">ASG Pay</a> — the banking layer for autonomous AI agents.</sub></p>\n","readmeFilename":"README.md"}