Time Machine is a simulation feature which imitates the key characteristics, behaviours and functions of the billing configurations. It is a virtual time travelling tool which facilitates the integration testing process by carrying out subscription renewals, dunning, webhooks etc on a hypothetical time frame.
You can use Time Machine in the test site to verify if the billing rules configured in your site adhere to your expectations before executing them in real time. This feature can be used in both API and UI versions.
View this doc for more details.
Note: In order to use Time Machine via API , you need to first "enable" the Time Travel option which is available under Settings > Configure Chargebee > Time Machine.
Sample Time machineJSON
Time machines attributes
The name of the time machine. Currently only delorean is allowed
The current status of time travel
Time travel has not been enabled for the site
Time travel is in progress
Time travel has succeeded.
Time travel has failed. Check the failure code and failure reason attributes for further details. Note: The time machine needs to be reset by starting afresh again.
The start time of the time machine. Specified when 'starting afresh'
The destination time to which the time machine is travelling (or has traveled)
The failure code. This will follow the api error code convention