Paycose Docs
Internal (Ops)
POST/test-clocks/{test_clock_id}/advance

Test Clock — Advance

Internal ops app (port 5002, no api_version, guarded by the internal token header).

Request

Example

curl -X POST '{{internal_base_url}}/test-clocks/{{test_clock_id}}/advance' \
  -H 'Content-Type: application/json' \
  -d '{
  "frozen_time": "2026-02-01T00:00:00Z"
}'

Headers

NameValue
Content-Typeapplication/json

Body

NameTypeValue
frozen_timestring2026-02-01T00:00:00Z
{
  "frozen_time": "2026-02-01T00:00:00Z"
}

Responses

400400 Bad Request

Headers

NameValue
Content-Typeapplication/json

Body

{
  "error": null
}
500500 Internal Server Error

Headers

NameValue
Content-Typeapplication/json

Body

{
  "error": null,
  "result": null
}

On this page