Get test clock state
Returns the organization's current test clock state. Sandbox only.
Returns the organization's current test clock state. Sandbox only.
Authorization
ApiKeyAuth x-api-key<token>
In: header
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/test-clock"{ "success": true, "data": { "simulatedTime": "2019-08-24T14:15:22Z", "isActive": true, "now": "2019-08-24T14:15:22Z", "object": "test_clock", "livemode": true }}{ "success": false, "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}{ "success": false, "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}{ "success": false, "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}{ "success": false, "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}{ "success": false, "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}