You should use "if" to express a condition ("You may use my lawn mower
if you promise to return it") and "whether" to express alternatives ("He didn't know
whether to laugh or cry").
I believe that "whether" would be 'more correct' in your example, but either would certainly be understood by a native speaker.