Skip to content
Payments docs are in beta — the OpenAPI contract is the source of truth.API reference
VortexPayments
Esc
↑↓navigate↵open⌘Jpreview

POST /v1/test-clocks/{testClockId}/advance

POST/v1/test-clocks/{testClockId}/advance
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Path parameters
testClockIdstringrequired
min length 1
Query parameters
environmentstring
Allowed:sandboxproduction
merchantAccountIdstring
min length 1
Header parameters
Idempotency-Keystring

Required for production-safe retries on mutating routes. Reusing a key with a different request body returns 409.

min length 1
Request body
requiredapplication/json
environmentstring | null
Show properties
Any of:
string
string
null
null
merchantAccountIdstring | null
Show properties
Any of:
string
string
null
null
testClockIdstring | null
Show properties
Any of:
string
string
null
null
frozenTimestringrequired
min length 1
Responses
200

Success

dataobjectrequired
Show properties
testClockobjectrequired
Show properties
testClockIdstringrequired
min length 1
frozenTimestringrequired
min length 1
statusstringrequired
Allowed:readydeleted
createdAtstringrequired
min length 1
deletedAtstring | null
Show properties
Any of:
string
string
null
null
transitionsobject[]required
Show properties
Array of object
subscriptionIdstringrequired
min length 1
kindstringrequired
Allowed:activatetrial_endcancelperiod_roll
atstringrequired
min length 1
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
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 '{...}'
Response
{
  "data": {
    "testClock": {
      "testClockId": "string",
      "frozenTime": "string",
      "status": "ready",
      "createdAt": "string",
      "deletedAt": "string"
    },
    "transitions": [
      {
        "subscriptionId": "string",
        "kind": "activate",
        "at": "string"
      }
    ]
  },
  "requestId": "string"
}

Was this page helpful?