Agents

Get agent spend

Amount submitted in each limit window and what remains. Windows are UTC calendar day and month; DRAFT, FAILED, CANCELLED, and REVERSED transfers are excluded.

get/v1/agents/{id}/spend

Path parameters

idstring required

Headers

X-API-Keystring

API key

Response

agentIdstring required
currencystring required
perTransactionstring required

Configured per-transaction cap, smallest unit

Example response

{
  "agentId": "agt_abc123",
  "currency": "USD",
  "perTransaction": "100000",
  "day": {
    "limit": "500000",
    "used": "125000",
    "remaining": "375000"
  },
  "month": {
    "limit": "500000",
    "used": "125000",
    "remaining": "375000"
  }
}

Changes