How to design payment infrastructure for marketplaces, vendor onboarding, split payouts, KYC compliance, and platform fee collection.