Skip to main content
POST
cURL
Starts a durable run that moves the test clock forward and processes every billing deadline due before the target time. Poll GET /test-clock for progress and terminal results. Sandbox only.

Autorizaciones

x-api-key
string
header
requerido

Encabezados

Idempotency-Key
string

Unique key used to safely retry this write for 24 hours without applying it twice.

Required string length: 1 - 200
Commet-Version
string
predeterminado:2026-08-27

API version used by this reference. Send this header to select this contract explicitly.

Cuerpo

application/json
advanceDays
integer
requerido
Rango requerido: x <= 9007199254740991

Respuesta

Success

id
string
requerido
status
enum<string>
requerido
Opciones disponibles:
pending,
running,
completed,
failed
startedAtTime
string<date-time>
requerido
targetTime
string<date-time>
requerido
estimatedDeadlineCount
integer
requerido
Rango requerido: -9007199254740991 <= x <= 9007199254740991
completedDeadlineCount
integer
requerido
Rango requerido: -9007199254740991 <= x <= 9007199254740991
failedDeadlineCount
integer
requerido
Rango requerido: -9007199254740991 <= x <= 9007199254740991
error
string | null
requerido
items
object[]
requerido
object
string
requerido
Allowed value: "test_clock_run"
livemode
boolean
requerido