BillKit/Docs Console
Test clocks

Get test clock

Retrieve one test clock and the time it is currently frozen at.

GET/v1/test_clocks/{test_clock_id}
Operation get_test_clock · Scope test_clocks:read · Spec snapshot 2026-09-13

Parameters

ParameterDescription
test_clock_idstring · pathrequiredNo description in the spec.

Returns

Returns a TestClockResponse object.

Errors

Status Cause
401 Missing or invalid API key.
403 Key is missing the test_clocks:read scope.
404 No such object, or it belongs to the other mode.
422 Validation Error
429 Rate limited. Back off and retry.
Request · curl
curl -X GET https://api.billkit.eu/v1/test_clocks/tc_9XKp2vQ1 \
  -H "Authorization: Bearer $BILLKIT_SECRET_KEY"
Response · 200 OK
{
  "created": 1789392000,
  "frozen_time": 1789392000,
  "id": "tc_9XKp2vQ1",
  "livemode": false,
  "name": "Ada Lovelace",
  "object": "test_clock"
}