Dashboard

Quick start

Once the portal approves your project and you open the sale, the project gets a sale page:

https://launchpadportal.dev/buy/<slug>

slug is the page address you chose when creating the project. The portal does the rest: accepts the payment, checks the amount, sends the tokens to the buyer and credits the revenue to your balance. Below are the ways to connect, from simplest to most flexible — you can combine them.

No code

A link or a button. Ready in a minute.

On your site

A button with a checkout popup, or a form right on the page.

Your own UI

Open API for orders and signed webhooks to your server.

The simplest way — post a link on your site, in Telegram or in a newsletter:

<a href="https://launchpadportal.dev/buy/your-token?ref=user-123">Buy tokens</a>

The ref parameter is optional (see buyer tag). Add lang=en|es|ru|zh to set the page language.

2. Button on your site

Paste this into your site's HTML where the button should be. Clicking it opens the checkout on top of your page:

<script src="https://launchpadportal.dev/widget.js"
        data-project="your-token"
        data-ref="user-123"
        data-lang="en"
        data-label="Buy YOUR"></script>
AttributeWhat it sets
data-projectproject slug, required
data-refyour buyer tag: user id, order id or campaign
data-langlanguage: en (default), es, ru, zh
data-labelbutton text
data-modebutton (default) or inline — the form right on the page
data-heightform height in inline mode, px (default 860)
Important: the browser will only show the checkout on your site after you add your site's domain in the dashboard: Projects → project → Embed domains, e.g. https://your-site.com.

3. Embedded form (iframe)

If you prefer a plain iframe:

<iframe src="https://launchpadportal.dev/buy/your-token?embed=1&lang=en&ref=user-123"
        width="480" height="860" style="border:0;border-radius:20px"
        allow="clipboard-write"></iframe>

embed=1 removes extra padding and the footer. As with the button, add your site's domain in the project settings.

Buyer tag (ref)

Use ref to pass your own tag: the user id in your app, an application number or a partner code. It is stored with the order, shown in the dashboard and included in every notification, so you can link the purchase to your user without manual reconciliation. Up to 100 characters: Latin letters, digits and _ . : @ # / -.

4. Order webhooks

Set an https URL of your server in the dashboard (Integration → Webhook URL). The portal sends a POST with JSON there whenever an order of your projects changes status: paid, delivered, underpaid, expired, etc. The "Send test" button in the dashboard checks the connection.

POST https://your-server.com/lp-webhook
Content-Type: application/json
X-LP-Event: order.delivered
X-LP-Event-Id: evt_1842
X-LP-Timestamp: 1796216400
X-LP-Signature: 5d0c…e91a

{
  "id": "evt_1842",
  "event": "order.delivered",
  "order": {
    "id": "a30909ed-bfe2-4678-b2f4-7d49bd22f2b3",
    "ref": "user-123",
    "project": "your-token", "symbol": "YOUR",
    "status": "delivered",
    "tokens": "2000", "usd": "2",
    "pay_currency": "USDT", "pay_network": "trc20",
    "pay_amount": "8", "network_fee": "6", "paid_amount": "8",
    "recipient": "9xQe…",
    "payment_txids": ["4389…7672"],
    "delivery_tx": "3Hk…",
    "created_at": "…", "paid_at": "…", "delivered_at": "…"
  },
  "at": "2026-12-02T13:00:00.000Z"
}

Signature check

X-LP-Signature is HMAC-SHA256 of X-LP-Timestamp + "." + raw request body, keyed with the webhook secret from the dashboard (Integration → Secret). Compute it over the raw body before parsing JSON, and reject requests older than 5 minutes.

import express from 'express';
import crypto from 'node:crypto';

const SECRET = process.env.LP_WEBHOOK_SECRET; // whsec_… from the dashboard
const app = express();

app.post('/lp-webhook', express.raw({ type: 'application/json' }), (req, res) => {
  const ts = req.get('X-LP-Timestamp');
  const sig = req.get('X-LP-Signature') || '';
  const want = crypto.createHmac('sha256', SECRET).update(`${ts}.`).update(req.body).digest('hex');
  const fresh = Math.abs(Date.now() / 1000 - Number(ts)) < 300;
  if (!fresh || sig.length !== want.length ||
      !crypto.timingSafeEqual(Buffer.from(sig), Buffer.from(want))) return res.sendStatus(403);

  const e = JSON.parse(req.body);
  // duplicate? — check e.id in your database and just reply 200
  if (e.event === 'order.delivered') {
    // e.order.ref — your user tag, e.order.tokens — how many tokens they received
  }
  res.sendStatus(200);
});

5. Open API

For your own purchase form on your site or in your app. No key needed, and requests can be made straight from the browser (CORS is open). Limit: 10 new orders per minute per IP. Send Accept-Language: en|es|ru|zh to get error messages in that language.

Sale info

GET https://launchpadportal.dev/api/projects/<slug>
→ { name, symbol, mint, decimals, currentStage, currentPriceUsd, stageLeft, stages[…], minUsd, maxUsd, soldOut }

Payment methods

GET https://launchpadportal.dev/api/config
→ { payMethods: [ { id: "USDT_TRC20", currency: "USDT", network: "trc20", networkFeeUsd: "6" }, … ] }

Quote

POST https://launchpadportal.dev/api/quote
{ "slug": "your-token", "tokens": "2000", "currency": "USDT_TRC20" }
→ { tokens: "2000", usd: "2", currency: "USDT", network: "trc20", payAmount: "8", networkFee: "6", breakdown: […] }

Create an order

POST https://launchpadportal.dev/api/orders
{
  "slug": "your-token",
  "tokens": "2000",
  "currency": "USDT_TRC20",          // id from /api/config
  "recipient": "<buyer's Solana address>",
  "mode": "address",
  "ref": "user-123"
}
→ { id, status: "pending", payAmount: "8", networkFee: "6", currency: "USDT", payNetwork: "trc20",
    payAddress: "TQdi…", expiresAt: "…" }

Show the buyer payAddress, the exact payAmount and the network. payAmount already includes the incoming network fee (networkFee; $6 on TRC20). The buyer pays it; your balance is credited with the full token price minus the portal fee. QR code with the address: GET /api/orders/<id>/qr.svg.

Order status

GET https://launchpadportal.dev/api/orders/<id>
→ { id, status, paidAmount, paymentSigs, deliverySig, … }

Poll no more than once every 3 seconds while the buyer is on the page. For bookkeeping on your side, webhooks are more reliable.

Order statuses

statusMeaning
pendingwaiting for payment
paidpayment received, tokens are being sent
deliveringdelivery transaction sent, waiting for network confirmation
deliveredtokens are with the buyer, revenue credited to your balance
underpaidless than required arrived; the buyer can top up to the same address, otherwise support decides
paid_latepayment arrived after the deadline; support decides
failedpayment received but delivery failed (e.g. the project wallet is out of tokens or SOL). Top up the wallet — support will retry
expirednot paid in time
refunded / cancelledrefunded / cancelled

Before launch