๐Ÿ› Software ยท LARZ-401 · Session 6 of 8

Ship the Marketplace

Add a seller payouts page, plug in a real provider, and deploy.

⏱ 10 min read📅 Updated 2026-07-25📊 Code examples throughout

A seller payouts page

@app.get("/payouts")
def payouts(req):
    seller = req.query.get("seller")
    owed = app.money.owed(seller)
    rows = app.money.payouts(seller)
    return render_payouts(seller, owed, rows)

Go live with a real processor

from larz.providers import StripeProvider   # or Square, Razorpay, Mollie, Coinbase
money.enable(app, provider=StripeProvider(api_key="sk_live_...",
             webhook_secret="whsec_..."), base_url="https://market.example.com")

Point the processor's webhook at /larz/webhook/<provider> and deploy with gunicorn (see the deployment docs). The full code is in the marketplace example.

You built a marketplace

  • Listings with images, per-item checkout, and split payouts โ€” in one framework.
  • Swap the processor without touching a route; 14 providers ship in the box.
  • Now recruit some sellers. ๐Ÿ›๏ธ

More in this course

Course home → · Browse all courses →