Copy for Cursor / Claude
Copy for Cursor / Claude
Card lifecycle
Every card follows a controlled lifecycle:- Created — card issued with a funded amount and spending limit
- Active — card is ready to use, authorization hold placed on payment method
- Used — merchant transaction recorded
- Closed — card deactivated, actual spend captured, unused funds released
Card types
Standard cards
Created viaPOST /v1/cards. Remain active until explicitly closed or auto-remediated after 6 days.
Guard cards
Created withguard: true. Auto-expire after 15 minutes. Limited to 5 per 10 minutes. Designed for spending guard workflows where agents need short-lived cards.
Approval-required cards
Created withrequire_approval: true or triggered by approval rules. Status starts as pending_approval. Card is not issued until approved via Telegram, Slack, or the approval page.
Billing model
AgentPay uses authorize-capture billing:- Creation: Authorization hold for
amount + max_feeon your payment method - Close (used): Capture
actual_spend + fee, release remainder - Close (unused): Cancel hold entirely, $0 charged