Get test clock
curl --request GET \
--url https://uat-api.clinkbill.com/api/subscription/test-clocks/{clockId} \
--header 'X-API-KEY: <api-key>' \
--header 'X-Timestamp: <x-timestamp>'HttpResponse<String> response = Unirest.get("https://uat-api.clinkbill.com/api/subscription/test-clocks/{clockId}")
.header("X-Timestamp", "<x-timestamp>")
.header("X-API-KEY", "<api-key>")
.asString();import requests
url = "https://uat-api.clinkbill.com/api/subscription/test-clocks/{clockId}"
headers = {
"X-Timestamp": "<x-timestamp>",
"X-API-KEY": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'X-Timestamp': '<x-timestamp>', 'X-API-KEY': '<api-key>'}
};
fetch('https://uat-api.clinkbill.com/api/subscription/test-clocks/{clockId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"code": 200,
"msg": "success",
"data": {
"name": "<string>",
"clockId": "<string>",
"subscriptionId": "<string>",
"frozenTime": 123,
"lastAdvancedTo": 123,
"status": "READY",
"livemode": true,
"metadata": "<string>",
"eventCount": 123,
"createTime": 123,
"updateTime": 123
}
}"<string>"Test Clock
Get Test Clock
Retrieve details of a specific test clock
GET
/
subscription
/
test-clocks
/
{clockId}
Get test clock
curl --request GET \
--url https://uat-api.clinkbill.com/api/subscription/test-clocks/{clockId} \
--header 'X-API-KEY: <api-key>' \
--header 'X-Timestamp: <x-timestamp>'HttpResponse<String> response = Unirest.get("https://uat-api.clinkbill.com/api/subscription/test-clocks/{clockId}")
.header("X-Timestamp", "<x-timestamp>")
.header("X-API-KEY", "<api-key>")
.asString();import requests
url = "https://uat-api.clinkbill.com/api/subscription/test-clocks/{clockId}"
headers = {
"X-Timestamp": "<x-timestamp>",
"X-API-KEY": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'X-Timestamp': '<x-timestamp>', 'X-API-KEY': '<api-key>'}
};
fetch('https://uat-api.clinkbill.com/api/subscription/test-clocks/{clockId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"code": 200,
"msg": "success",
"data": {
"name": "<string>",
"clockId": "<string>",
"subscriptionId": "<string>",
"frozenTime": 123,
"lastAdvancedTo": 123,
"status": "READY",
"livemode": true,
"metadata": "<string>",
"eventCount": 123,
"createTime": 123,
"updateTime": 123
}
}"<string>"Authorizations
Your secret API key obtained from the Clink dashboard (Developers section)
Headers
Current timestamp in milliseconds since Unix epoch (required for request signing)
Example:
"1783513683000"
Path Parameters
Unique identifier of the test clock
Response
Test clock details retrieved successfully