Paycose Docs
Internal (Ops)
POST/test-clocks

Test Clock — Create

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

Request

Example

curl -X POST '{{internal_base_url}}/test-clocks' \
  -H 'Content-Type: application/json' \
  -d '{
  "app_id": "{{application_id}}",
  "country": "{{country}}",
  "name": "My Clock",
  "frozen_time": "2026-01-01T00:00:00Z",
  "provider": ""
}'

Headers

NameValue
Content-Typeapplication/json

Body

NameTypeValue
app_idstring{{application_id}}
countrystring{{country}}
namestringMy Clock
frozen_timestring2026-01-01T00:00:00Z
providerstring
{
  "app_id": "{{application_id}}",
  "country": "{{country}}",
  "name": "My Clock",
  "frozen_time": "2026-01-01T00:00:00Z",
  "provider": ""
}

Responses

400400 Bad Request

Headers

NameValue
Content-Typeapplication/json

Body

{
  "error": null
}

On this page