google
ref
early 18th century (originally denoting a counterfoil, or a form with a counterfoil): variant of check1, in the sense ‘device for checking the amount of an item’.
wiktionary
ref
A variant of check influenced in spelling by exchequer.
etymonline
ref
cheque (n.)
see check.