// Payments
Authorize & Charge
POST /api/pay — policy-checked charge against an allowed provider.
// auth
// access
Authentication required
Include your wallet API key on every request using the documented header and scopes below.
Scopes are documentation-only today — server-side enforcement is keyed to the per-wallet X-API-Key.
// capabilities
- Authorize and capture against an allowlisted provider
- Policy enforcement on every charge (allowlist → daily → cap → balance)
- Idempotent on idempotency_key
- Append-only transaction log with approved/blocked status
// pricing
per transaction
Standard 1.5% AgentKit fee per successful charge.
// example
POST /api/pay
X-API-Key: ak_live_...xxxxxxxx
{
"provider": "openai",
"amount_cents": 420,
"idempotency_key": "req-001"
}