Payment intents
GET/v1/spending

Get spending status

View as .md
curl -X GET "https://api.52-28-238-205.sslip.io/v1/spending" \  -H "Authorization: Bearer agk_test_..."

Returns the calling agent's own budget (available, reserved, spent, limit) and mandate limits and expiry. Agent credential only.

Server URLhttps://api.52-28-238-205.sslip.io
GET/v1/spendingBase URL: https://api.52-28-238-205.sslip.io
Authorization
  • agentKeyAuthorization: Bearer agk_test_...
Runs the same action from an agent, under the same policy.

Authorization

agentKey
headerAuthorizationBearer <agk_test_...>

Agent credential

Response Body

Success.

application/json
  1. response
available*Available
reserved*Reserved
spent*Spent
limit*Limit
asset*Asset

Asset symbol, for example USDC or USDT; USD for card amounts.

hard_cap*Hard Cap
auto_threshold*Auto Threshold
plan_hard_cap*Plan Hard Cap
mandate_expires_at?string|null
mandate_status?string|null
[key: string]?any