INITIALIZING PAYLINK PROTOCOL...
PL PAYLINK

ONE LINE.
PAYWALL.

// MONETIZE ANY URL WITHOUT BACKEND COMPLEXITY

Stop building billing systems from scratch.

Paylink is a Node.js middleware that acts as a gatekeeper. It intercepts requests to your valuable content, checks for payment status, and handles the redirect logic automatically.

USE CASES

SELECT OPERATION MODE

01

CONTENT CREATORS

Monetize digital assets instantly without a storefront.

  • Sell PDF Guides & Checklists
  • Gate Notion Pages / Google Drive
  • "Alpha" Documentation Access
  • Exclusive Mini-Courses
02

BIZ & FREELANCE

Filter qualified leads and sell professional time.

  • Paid Consultation Booking (Zoom)
  • Premium B2B Proposals
  • Demo Dataset Access
  • Tech Support Tickets
03

COMMUNITY

Manage paid entry to private groups.

  • Paid Telegram/Discord Invites
  • Workshop Entry Tickets
  • Private Event Links
  • Membership Renewals

PROTOCOL FLOW

VISUALIZING THE REQUEST LIFECYCLE

USER Request Resource
402 Payment Required
GATEWAY Processing TX
302 Redirect to Content

DEPLOYMENT

NODE.JS INTEGRATION

server.js TypeScript / ESM
import { paylink } from '@paylink/paid-redirect';

app.get('/secret-pdf', async (req, res) => {

  // 1. Check if user already paid
  const hasAccess = await db.check(req.user);

  // 2. If not, trigger 402 Protocol
  if (!hasAccess) {
    return paylink.enforce(res, {
      price: '5.00',
      currency: 'USD',
      target: 'https://drive.google.com/...'
    });
  }

  // 3. Redirect to real content
  res.redirect('https://drive.google.com/...');
});

CREATE PAYLINK

GENERATE PAYLINK URL