---
search:
  tags:
    - testClocks
    - POST
seo:
  description: >-
    Reference for the POST /v1/test-clocks/{testClockId}/advance endpoint in the
    Vortex Payments API.
sidebar:
  label: POST /v1/test-clocks/{testClockId}/advance
  badge: POST
title: POST /v1/test-clocks/{testClockId}/advance
type: openapi-operation
---
`POST /v1/test-clocks/{testClockId}/advance`

**curl**

```bash
curl "https://api.vortex.nyc/v1/test-clocks/:testClockId/advance?environment=...&merchantAccountId=..." \
  -X POST \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{...}'
```

**TypeScript**

```ts
import { advanceTestClock, createVortex } from "@vortex-api/vortex/2026-09";

const vortex = createVortex({ apiKey: process.env.VORTEX_API_KEY });
const { data } = await advanceTestClock({
  client: vortex,
  path: { testClockId: "..." },
  query: { environment: "...", merchantAccountId: "..." },
  body: {...},
});
```

**Request body** (`application/json`, required)

- `environment` (string | null)
- `merchantAccountId` (string | null)
- `testClockId` (string | null)
- `frozenTime` (string, required)

Request body example:

```json
{
  "environment": "sandbox",
  "merchantAccountId": "string",
  "testClockId": "string",
  "frozenTime": "string"
}
```

**Responses**

- `200` — Success

Response example, 200:

```json
{
  "data": {
    "testClock": {
      "testClockId": "string",
      "frozenTime": "string",
      "status": "ready",
      "createdAt": "string",
      "deletedAt": "string"
    },
    "transitions": [
      {
        "subscriptionId": "string",
        "kind": "activate",
        "at": "string"
      }
    ]
  },
  "requestId": "string"
}
```
