C
CapSpend
Instant AI-governed corporate purchasing over SMS
Created on 1st August 2026
•
C
CapSpend
Instant AI-governed corporate purchasing over SMS
The problem CapSpend solves
- The Problem: Traditional corporate expense approvals are slow, manual, and rely on physical cards or exposed 16-digit card numbers vulnerable to overspending and theft.
- How CapSpend Solves It: Employees text spending requests over SMS; CapSpend evaluates corporate governance via OpenAI, generates a single-use tokenized Visa virtual card via Prava upon 1-click biometric passkey approval, and completes settlement.
- Why It Is Useful Today: Businesses get instant, fraud-proof purchasing with zero card number exposure, automated spend caps, and instant SMS receipts.
- What We Plan to Build Next: Next, I plan to introduce autonomous negotiation capabilities so the buyer agents can automatically secure bulk discounts from sellers before finalizing the transaction. Automated accounting sync with ERPs (QuickBooks, Xero, NetSuite) and multi-currency global corporate spending limits.
Challenges I ran into
-
Decoupling Webhook Handlers from Asynchronous Passkey Approval:
- Issue: Linq webhooks expect immediate HTTP responses, but manager passkey authorization happens asynchronously on a mobile device.
- Solution: We decoupled session polling into background tasks in PravaService.pollAndReportStatus(), allowing the webhook to return HTTP 200 immediately while asynchronously awaiting passkey token generation.
-
Playwright Network Interception in Stagehand V3:
- Issue: Stagehand V3 threw an InvalidArgumentError: Unsupported event: response when attaching event listeners directly to Stagehand's page wrapper.
- Solution: We inspected the underlying Stagehand object and attached Playwright's page.on('response') listener directly to the raw Playwright page instance ((page as any).page), allowing us to capture real HTTP status codes and gateway payloads.
-
Prava Sandbox Decline Verification:
- Issue: Capturing the merchant sandbox decline without breaking the execution flow.
- Solution: We captured the expected sandbox test card decline (card_declined) and reported txn_status: 'DECLINED' back to Prava's POST /v1/sessions/:id/report-status endpoint to prove end-to-end sandbox completion.
Tracks Applied (6)
Best Visa Intelligent Commerce Implementation
Visa
Participation Credits (Already Claimed)
OpenAI
OpenAI
OpenAI
iMessage Agent
Linq
Best Prava Adapter for the NANDA Town
Project Nanda
Agentic Commerce Hackathon
Technologies used
Cheer Project
Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.
Discussion
Builders also viewed
See more projects on Devfolio
