Fix track_charge API invocation