Green’s Dictionary of Slang

earn v.

(UK Und.)

1. to work as a prostitute.

[UK]F. Norman Fings II i: And tho my Lil is quite prepared to go outside and earn.

2. of a police officer, to take bribes.

[UK]G.F. Newman You Flash Bastard 12: Some almost certainly making deals with suspects, possibly either to entrap them or earn from them.

3. to make a dishonest profit from a crime.

[[UK]Paul Pry 22 Jan. n.p.: [S]ome mustachioed sharper [...] who will jocularly pronounce upon his ‘infernal run’ of ill-luck; while at the same time he courteously buttons up his breeches-pocket upon the three or four sovereigns he has ‘earned’].
[UK]D. Powis Signs of Crime 182: Earn To make a corrupt or dishonest profit. A thief might say about a proposed fraud or illegal scheme: ‘We can all really earn on this one!’.
[UK]J. Morton Lowspeak.
[UK] in R. Graef Living Dangerously 90: I want to learn a trade [...] So I won’t have to go out ‘earning’.
[UK]Guardian Society 13 July 🌐 Basically any dickhead could come and earn, could come and sell drugs.

SE in slang uses

In phrases

earn one’s stripes (v.) [military imagery]

(US black/teen) for a young gang member to commit a crime to advance their status.

[US]G. Sikes 8 Ball Chicks (1998) 74: Just a little kid, too, earning his stripes.
[US]Source Aug. 147: By the time he was earning his stripes, each street on the Eastside of Long Beach had become the site of a pitched battle between Insane and Rolling 20s.