Green’s Dictionary of Slang

confidence n.

[SE confidence trick is not recorded until 1849 according to the OED]

(UK Und.) confidence trickery.

[UK]J. Dunton Night-Walker Sept. 3: The third was a Savoy-Bird, well skill’d in Confidence and the depth of Pockets.