Skip to main content
1

Sign in with PayPal

Sign in at /login in the Haggles Portal. Signing in via Log in with PayPal (OIDC) automatically links your verified PayPal payer_id so payouts require zero manual bank configuration.
2

Create a Seller Key

Navigate to Sell → Setup and click Generate seller key. Copy your secret HAGGLES_SELLER_KEY (hgs_test_...) and your public sellerId (slr_...).
3

Install @haggles/server and attach paywall()

Install the seller SDK with Bun:
Then wrap any Hono or Express route:
Automatic Endpoint Registration: You do not need to pre-register routes in the Portal. The first time your middleware redeems a payment on a route, Haggles registers the (seller_id, method, route) entry in Sell → Endpoints automatically.