Getty

D4vd was making lots of money by the time he was finishing up high school ... because he was just 17 years old when he signed a record deal that started to line his pockets with a multi-million dollar advance.

TMZ did some digging and found D4vd's minors contract he signed with Darkroom and Interscope Records ... which was filed in court. Getty

D4vd put pen to paper in September 2022, when he was 17, and the deal called for him to be paid at least a $3 million advance for an EP, an album, and various other deliverables.

Upon signing, D4vd was paid $500,000 ... and that was followed by a $250,000 payment and then the big one ... a $2,250,000 sum. The contract says the value could balloon to $6 million if things went well. Getty

So it looks like D4vd was flush with cash a

See Full Page