cURL
curl --request POST \ --url https://api.tessie.com/{vin}/charges/{id}/set_cost \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "cost": 123 }'
{ "result": true }
Sets the cost of a charge.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The associated VIN.
The ID of the charge.
The cost of the charge. Leave empty to remove the cost.
Success