Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

ai-agent-card-payments

bởi proxyhq

AI & LLMs
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Virtual card payments for AI agents.

Mô tả

Kỹ năng này làm gì

Gives AI agents the ability to make purchases using virtual cards issued by Proxy. Agents create spending intents, retrieve card credentials, and complete transactions within configured policy limits. High-value purchases can be routed to a human approver before the card is unlocked.

Combines card issuance, policy enforcement, and human-approval gating in a single API layer, removing the need to build separate spend controls around a raw payment processor.

Khi nào nên dùng

  • Auto-purchasing API credits when an agent's quota runs low
  • Paying for cloud compute during an unattended pipeline run
  • Buying software licenses within a pre-approved spending threshold
  • Routing unexpectedly large purchases to a human before checkout
  • Attaching receipts and evidence to agent-initiated transactions for audit

Quy trình ví dụ

ĐẦU VÀO

User asks: buy $50 of API credits from OpenAI

AGENT
  1. 1

    Call proxy.kyc.status and proxy.balance.get to confirm the account is funded

  2. 2

    Call proxy.policies.simulate to check whether the purchase will be auto-approved

  3. 3

    Call proxy.intents.create with purpose='Buy API credits', expectedAmount=5000, expectedMerchant='OpenAI'

  4. 4

    If approval is required, call proxy.intents.request_approval with context explaining the threshold

  5. 5

    Call proxy.cards.get_sensitive to retrieve card credentials and complete checkout

ĐẦU RA

Virtual card credentials returned; transaction logged and retrievable via proxy.transactions.list_for_card

Yêu cầu

  • Proxy account at useproxy.ai
  • PROXY_AGENT_TOKEN environment variable

Cài đặt

clawhub install proxyhq/ai-agent-card-payments

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết