The Programmer
You need to make a script, which at the start will be through the API Yandex.taxi to receive a list of transactions of the driver, to calculate them. To withdraw the total amount of money earned by the park. If the total amount of earnings of the park is less than the established, it will write off the difference from the driver. If the driver will get a minus balance, through the GPS API of the service will send a command to lock the car.
26.06.2021 10:24