Kontorion Billing API
stringstringstringstringstring · enumstringstring
string · requiredstringstringstringstringstring · enumstringstring
Test clocks let you simulate the passage of time in a sandbox environment. Instead of waiting days or months for billing events to occur naturally, advance the clock to trigger renewals, trial expirations, dunning escalations, and scheduled changes instantly.
How it works:
- Create a test clock with a frozen starting time
- Create subscriptions and other resources using this clock
- Advance the clock to any future time - all time-dependent operations execute as if real time passed
Create a test clock
POST
https://api.kontorion.eu/v1
/test-clocks
Creates a new test clock for time simulation in sandbox mode. Only available in sandbox environments.
Create a test clock › Responses
Created test clock wrapped in data envelope
created_atfrozen_atidnamestatusEnum values:
active
advancing
completed
updated_atworkspace_idAdvance a test clock
POST
https://api.kontorion.eu/v1
/test-clocks/{id}/advance
Advances the test clock to a new frozen time, triggering any scheduled events in between
path Parameters
idTest Clock UUID
Advance a test clock › Responses
Updated test clock wrapped in data envelope
created_atfrozen_atidnamestatusEnum values:
active
advancing
completed
updated_atworkspace_id