Boost My AgentGet Boost OS
Whop

Whop starter module

API keys and app setup

Maps Whop API keys, app settings, webhook values, products, and account connections.

Files
15
Lines
721
Languages
Config + Markdown + TypeScript + JSON

Included files

This page lists paths and purposes, not source contents.

  • .env.example

    Configuration required by this starter pack.

    Config

    33 lines

  • ADAPT.md

    Complete these steps in order.

    Markdown

    111 lines

  • app/api/whop/checkout/route.ts

    Creates a metadata-linked checkout from a server-selected catalog plan.

    TypeScript

    38 lines

  • app/api/whop/verify/route.ts

    Mounts the readable Whop verification handler for adaptation work.

    TypeScript

    8 lines

  • app/api/whop/webhook/route.ts

    Mounts the signed Whop webhook handler in a Next.js App Router application.

    TypeScript

    8 lines

  • app/buy/route.ts

    Serves a working embedded checkout page with a hosted-checkout fallback.

    TypeScript

    67 lines

  • app/checkout/success/route.ts

    Serves the browser return page without treating a redirect as payment proof.

    TypeScript

    18 lines

  • OPERATIONS.md

    1.

    Markdown

    51 lines

  • package.json

    Configuration required by this starter pack.

    JSON

    18 lines

  • README.md

    This starter gives a Next.js App Router application Whop checkout, signed webhook handling, exact-once access grants, member-to-account linking, and server-side membership validation.

    Markdown

    128 lines

  • src/setup/create-product.ts

    Creates or finds each catalog product and one-time plan in the selected Whop mode.

    TypeScript

    97 lines

  • src/setup/create-webhook.ts

    Creates or updates the starter's v1 Whop webhook endpoint without duplication.

    TypeScript

    70 lines

  • starter.json

    Configuration required by this starter pack.

    JSON

    6 lines

  • TROUBLESHOOTING.md

    Open `/api/whop/verify` first.

    Markdown

    53 lines

  • tsconfig.json

    Configuration required by this starter pack.

    JSON

    15 lines

Questions about api keys and app setup

Is this a Whop Next.js starter?

Yes. The pack is built for Next.js apps that need embedded checkout, checkout links, membership validation, purchase webhooks, refunds, and member account linking.