This project demonstrates how to manage royalty payments, affiliate payouts, and subscriptions in the creator economy using the Rapyd API. It’s built with FastAPI in Python and supports secure, scalable global transactions.
- Royalty Payments: Distribute revenue to collaborators based on predefined splits.
- Affiliate Payouts: Track and process commission-based payouts.
- Subscription Management: Handle recurring payments and flexible tiers.
Before running the app, make sure you have the following:
- Python 3.8+
- Rapyd Sandbox Account
- Rapyd API Credentials (
RAPYD_ACCESS_KEY
andRAPYD_SECRET_KEY
) - ngrok (optional, for testing webhooks)
RAPYD_ACCESS_KEY=your_rapyd_access_key RAPYD_SECRET_KEY=your_rapyd_secret_key
uvicorn main:app --reload
Visit the Swagger API docs at: