Test clocks
Create test clock
Create a frozen clock so you can test billing over time.
POST/v1/test_clocks
Parameters
| Parameter | Description |
|---|---|
| frozen_timeintegerrequired | No description in the spec. |
| namestring | nulloptional | At most 255 characters. |
Returns
Returns a TestClockResponse object.
Errors
| Status | Cause |
|---|---|
| 401 | Missing or invalid API key. |
| 403 | Key is missing the test_clocks:write scope. |
| 422 | Validation Error |
| 429 | Rate limited. Back off and retry. |
Other test clocks operations
- List test clocks GET /v1/test_clocks
- Delete test clock DELETE /v1/test_clocks/{test_clock_id}
- Get test clock GET /v1/test_clocks/{test_clock_id}
- Advance test clock POST /v1/test_clocks/{test_clock_id}/advance
BillKit