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
Example response
{
"agentId": "agt_abc123",
"currency": "USD",
"perTransaction": "100000",
"day": {
"limit": "500000",
"used": "125000",
"remaining": "375000"
},
"month": {
"limit": "500000",
"used": "125000",
"remaining": "375000"
}
}Changes
Changed in 1 of the 19 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○