Credits go to @BrianZak for his awesome design.
For printing add a pause command to the third last layer to insert the magnets then.
Use 6x3 magnets.
Edit: 27.11.2023
Added self-designed case for single card with magnetic inserts.
The author remixed this model.
Magnets print-in-place