I've tried importing participants in the standard way, then importing contributions for their event deposits (partial payments), then using API CSV import to connect them via a ParticipantPayment import. However, things don't seem to behave correctly afterward.
Bringing the data directly in via SQL on civicrm_participants, civicrm_contributions, and civicrm_participant_payments doesn't seem to work either.
What is the correct way to convert in the data so these participants will be connected with their deposits?