List billed usage

List the usage records billed to the wallet (calls, messages, etc.), newest first, at your sub-account prices.

GET https://api.centerfy.ai/webhooks/inbound/wallet/usage

Headers

HeaderRequiredValueDescription
x-api-keyYesyour sub-account API key (cfy_…)Authenticates the request; or use Authorization: Bearer <key>.

Query parameters

NameTypeRequiredDefaultDescription
limitintegerNo50Page size; minimum 1, maximum 100 (larger values are rejected with 400).
offsetintegerNo0Number of records to skip for paging; minimum 0.
fromstring (ISO 8601)No—Only records created at or after this date or datetime.
tostring (ISO 8601)No—Only records created at or before this date or datetime. A plain YYYY-MM-DD covers that whole UTC day.
typestringNo—Only records of this service type, e.g. ai_phone_call or sms (max 100 characters).

Example

curl -X GET "https://api.centerfy.ai/webhooks/inbound/wallet/usage?limit=50&offset=0" \
  -H "x-api-key: $CENTERFY_API_KEY"
import { CenterfyClient } from "@centerfy/sdk";

const centerfy = new CenterfyClient({ apiKey: process.env.CENTERFY_API_KEY! });

const result = await centerfy.wallet.usage({
  "limit": 50,
  "offset": 0
});
console.log(result);
centerfy wallet usage '{"limit":50,"offset":0}'

MCP tool: centerfy_wallet_usage (see MCP server)

Response

{
  "status": "success",
  "total": 1,
  "limit": 50,
  "offset": 0,
  "has_more": false,
  "from": "2026-10-01T00:00:00.000Z",
  "to": "2026-10-05T23:59:59.999Z",
  "usage": [
    {
      "id": "8c2d4e6f-1a3b-4c5d-9e7f-0a1b2c3d4e5f",
      "service_type": "ai_phone_call",
      "quantity": 3.5,
      "unit_price": 0.12,
      "total": 0.42,
      "description": "AI phone call",
      "reference_id": "6f7a8b9c-0d1e-4f2a-8b3c-4d5e6f7a8b9c",
      "reference_type": "call",
      "agent_id": "2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e",
      "created_at": "2026-10-05T16:20:00.000Z"
    }
  ]
}

Errors

  • 400 — if from or to isn’t a valid date, or from is after to.
  • 401 — if unauthenticated.

Notes

from and to are echoed back normalised to UTC (null when not sent).

© 2026 Centerfy AI. All rights reserved.