Skip to main content
GET
/
v0
/
testClocks
/
{id}
Get
curl --request GET \
  --url https://api.paygentic.io/v0/testClocks/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "tc_g3h4i5j6k7l8m9n0",
  "createdAt": "2024-03-10T08:00:00Z",
  "currentTime": "2024-03-15T10:30:00Z",
  "deletedAt": null,
  "description": "Test clock for weekly subscription billing",
  "merchantId": "org_o1p2q3r4s5t6u7v8",
  "name": "Weekly Billing Test",
  "updatedAt": "2024-03-15T10:30:00Z"
}

Authorizations

Authorization
string
header
required

API key authentication

Path Parameters

id
string
required

Test clock ID

Response

Test clock details

id
string
required

Unique identifier for the test clock

createdAt
string<date-time>
required

When the test clock was created

currentTime
string<date-time>
required

The simulated current time of the test clock

merchantId
string
required

The merchant organization that owns this test clock

updatedAt
string<date-time>
required

When the test clock was last updated

deletedAt
string<date-time> | null

When the test clock was deleted (if applicable)

description
string | null

Description of the test clock's purpose

name
string | null

Name of the test clock