Any good third party packages for a referral system?

I work at a startup that uses a Django/DRF backend.

I’ve been told I will soon (likely starting next week) be expected to implement a referral program for a webapp that our company will be releasing in the coming months. It doesn’t sound too hard to implement from scratch on my own, but I know basically nothing about that sort of thing except whatever I could come up with in the moment.

By referral program I mean just standard: user can link the onboarding options to others and be registered as the newbie’s referrer, getting a small reward proportional to whatever newbie spends in the app.

I’ve looked around the Django ecosystem, but most projects related to this seem to not be under active development. Does anybody have experience with implementing something like this? Like any third party app, or a good pattern to do it.