Skip to content

BYOB New inbox in every project

Razorpay Payments Integration

Razorpay is built for Indian customers, bringing UPI, cards, netbanking, and wallets into one checkout. BYOB generates the order, subscription, and webhook routes that connect a SvelteKit app to your Razorpay merchant account.

Prompt to product

From one-line brief to finished app.

Compare the one-line brief with what BYOB ships. Real layout, data, and deploy status, editable from the same workspace.

TD

Team Tasks

Shared task tracking

Online
Today4
Done11
Streak6d
Open live app ↗
Prompt Product

Drag the handle. Or focus it and use the arrow keys.

Get inspired

Sites like this, live today.

Real sites that do it well. Build something like this with BYOB.

Discord website
Discord Community chat with bold, playful branding. Visit ↗
ISO Meet website
ISO Meet Hiring platform with a direct value prop. Visit ↗
Conflux website
Conflux Feedback tool with a clear all-in-one pitch. Visit ↗
Whelp website
Whelp Support software with an omnichannel story. Visit ↗
Qatchup website
Qatchup User-feedback tool with a conversational page. Visit ↗
Exactly.ai website
Exactly.ai AI product page with a clear, confident pitch. Visit ↗

Fresh from the community

See what builders ship, or start from an example.

View showcase →

Live workspace

Code, chat, and preview in one place.

The workspace is built for repeated product work, not disposable demos. Every generated file stays inspectable, every change is visible, and every follow-up can target the exact part of the app you care about.

01 · EDITOR

Generated code, ready to edit.

Every file BYOB writes stays visible and editable. Follow-ups target the exact lines you care about instead of regenerating from scratch.

  • Added lines highlighted the moment they land
Code
Act mode
TodoPage.svelte
schema.ts
1<script lang='ts'>
2type Task = { id: string; title: string; done: boolean }
3let tasks = $state<Task[]>([])
4
5function toggleTask(id: string) {
6task.done = !task.done // just added by BYOB
7}
8</script>
main · 0 problems Preview ready

02 · AI COMMAND

Plan, build, and refine in one chat.

Describe the outcome once. BYOB turns it into a build plan, implements it step by step, and keeps every change visible while you iterate.

  • Build plan with live progress you can inspect
B BYOB AI
Chat Act

Your prompt

“Build a todo app for beginners”

Build plan

80%
  • Task list UI + empty state
  • Add + toggle actions
  • Progress summary…
Add due dates and filter by done…

03 · LIVE PREVIEW

See every change the second it lands.

The preview updates as BYOB works, with deploy status attached, so the path from edit to production stays inspectable.

  • Real app state, not a static mockup
Live preview
/
TD

Team Tasks

Shared task tracking

Online
Progress 2 of 3 done
  • Wireframe landing page
  • Task list component
  • Responsive polish + QA
Ask BYOB to refine
Deployed · SvelteKit · SSL on

Prompt to app

From first prompt to a workspace you can ship.

Start conversationally, approve the shape, let Tool Mode implement, then refine and deploy from the same workspace.

  1. 01 Describe the product Start with the outcome, audience, and any constraints. BYOB turns the idea into a practical build plan.
  2. 02 Shape the UX Review the proposed flows, screens, data needs, and visual direction before code starts moving.
  3. 03 Generate the app Tool Mode writes SvelteKit code, connects integrations, and keeps each change visible in preview.
  4. 04 Test and refine Ask for edits, roll back when needed, run checks, and keep the project editable instead of disposable.
  5. 05 Deploy Ship the finished app, connect domains, and keep iterating from the same workspace.

Agent and backend

Code with your agent, ship with a real backend.

Connect Codex, Claude Code, or Antigravity to your project, then store data and ship to production without leaving the workspace.

  • Approve project access from BYOB
  • Installs the byob command
  • Preview, deploy, git diff, DNS, credits, and code tools
npm
npx -y byob-cli codex install

Approve only the projects your agent can touch, then read context, edit files, inspect diffs, test previews, and roll back from your terminal.

1
prompt to start
3
live panes
24/7
edge preview

Loved by builders

Rated 4.9/5 by developers and founders using BYOB to move from idea to shipped product.

Rated 4.9/5 by builders shipping with BYOB.

Start building
  • Clean SvelteKit code you own
  • One-click deploy + rollback
  • Pay as you go pricing

Built for shipping

The parts that usually slow you down are already here.

BYOB handles product planning, implementation, preview, testing, database work, and deployment from one focused interface, with coding-agent access and production analytics when you want to keep working from your own terminal.

This part is hands-on. The cards drift until you touch them. Drag to rearrange, or press and hold one to feel it push back.

Agent integrations

Give Codex, Claude Code, or Antigravity scoped access through BYOB CLI or Agent MCP. Your agent reads context, edits code, tests previews, and deploys from your terminal.

Git history and diffs

Every change lands as a commit. Inspect history, compare diffs, and see exactly what changed since the last deploy.

Inbox in every project

Every project ships with an inbox. Collect messages, leads, and feedback from your app without wiring a third party.

Email sending built in

Send magic links, OTP codes, and transactional mail from your own sender address. Resend-backed, no SMTP setup.

Google and magic-link login

Offer Continue with Google plus passwordless email codes. Sessions and callbacks are handled.

Custom domains and SSL

Point your domain at BYOB with guided DNS checks. Certificates are automatic.

Visual editing

Click any element in the live preview and describe the change. Copy, spacing, color, behavior.

AI testing agent

Run full-site or feature checks and get implementation-level feedback you can apply in one step.

Version rollback

Step between saved states or redeploy a known commit when an experiment goes sideways.

One-click deploy

Builds publish to production hosting in one step. Deploys can auto-save the project state first.

Deployment analytics

Worker traffic, errors, CPU timing, subrequests, and custom-domain status from the workspace.

Supabase aware

Connect Supabase and BYOB reads schemas, drafts migrations, and generates types that match your app.

Team collaboration

Invite people in and keep sessions coordinated so work never overwrites work.

  • Vision inputs
  • Voice coding
  • Project templates
  • SEO-ready output
  • Context tracking
  • Model lock

Simple pricing

Start with credits, upgrade when usage is steady.

Pay as you go when you are exploring. Move to Pro or Max when BYOB becomes part of your regular build workflow.

Pay as you go

$0

$1 = 100 credits

Popular

Pro

$25

2,000+ credits/mo

Max

$79

8,000+ credits/mo

Live estimator

What will your app cost?

Try the cost calculator. Drag the pages slider, toggle the options, and watch the agency quote vs BYOB update instantly.

Open full cost calculator →
Number of pages: 5
Traditional agency estimate

$5,750 upfront

Yearly maintenance

~$1,150 / year

BYOB estimate

~$45 in credits

BYOB builds the same site from one prompt and hosts it on the edge. Planning estimates, not quotes.

See BYOB plans
View full pricing

Need white-label and SSO? Talk to us →

BYOB connects generated apps to Razorpay: server routes create orders or subscriptions, Razorpay Checkout.js opens in the browser, and both the checkout callback and x-razorpay-signature webhook are verified with your key secret. Durable order and subscription state lives in your project database.

Built for INR and UPI

Razorpay's strength is the Indian market, where UPI, cards, netbanking, and wallets all route through one checkout. Prices are typically shown and charged in rupees, so the generated pricing components and server routes keep currency and small-unit amounts consistent end to end. If your customers are in India, this reduces the friction of a card-only, USD-first flow and lets people pay the way they already do every day.

One-time orders created at checkout time

For a single purchase, the server creates a Razorpay order only when the buyer is ready, using the amount, currency, receipt, and notes from your catalog. The browser receives the order id and opens Razorpay Checkout.js. Customer-specific orders are never pre-created during setup, which keeps the merchant account clean and prevents stale orders. The order notes bind the purchase to the signed-in user so later events can be matched reliably.

Subscriptions backed by plan ids

Recurring billing uses Razorpay plans. During setup, plans are created or reused by period, interval, amount, currency, and a stable catalog key, and the resulting plan_. ids are stored in project environment variables. At checkout the server creates a subscription from the chosen plan id and returns only checkout-safe fields to the browser. Recurring payments must be enabled on the merchant account, or Razorpay will reject subscription checkout even when the API call succeeds.

Two signatures, both verified

Razorpay checkout produces a browser callback, and Razorpay also sends webhooks. These are separate and both need verification. The callback is checked with HMAC SHA-256 over the order and payment ids for one-time payments, or the payment and subscription ids for subscriptions, using your key secret. The webhook is verified with the x-razorpay-signature header and your webhook secret. A verified callback confirms the UI step; durable entitlement still comes from signed webhook or provider state.

Events that move your billing state

A generated webhook route handles the events that matter for billing: payment captured and failed, order paid, and the subscription lifecycle including authenticated, activated, charged, pending, halted, cancelled, and completed. Each event id is stored idempotently so retries do not double-apply. Only captured or paid evidence grants one-time access, and only authenticated, activated, or charged evidence activates a subscription. A created subscription alone is not treated as a successful payment.

Test mode before live keys

Razorpay provides a full test mode, and generated integrations are built to exercise it first. Test keys prove order creation, callback verification, and webhook delivery before any real money is involved. Note that Razorpay has deprecated UPI Collect for most merchants, so current checkout tends to expose UPI QR or intent rather than a manual VPA field. Plan your payment-method copy and testing around what the merchant account actually supports.

What stays private and project-owned

The browser may receive RAZORPAY_KEY_ID, the checkout-safe public key, but RAZORPAY_KEY_SECRET and the webhook secret never leave the server. Provider setup happens at the platform level: plans, optional item records, and webhooks are reconciled outside your repository. Your project owns the order and subscription creation endpoints, the callback verification route, the webhook handler, and the tables where payment state is stored.

FAQ

Frequently Asked Questions

Do I need a partner or submerchant account?

No. A normal first-party Razorpay merchant account works. An account id is only needed for explicit partner or submerchant webhook automation.

How is the checkout callback verified?

One-time payments verify the order and payment ids; subscriptions verify the payment and subscription ids. Both use HMAC SHA-256 with your Razorpay key secret.

Which webhook events should I subscribe to?

At minimum payment.captured, payment.failed, and order.paid, plus the subscription events your plan uses, such as activated, charged, and cancelled.

Can I use a hosted checkout instead of a popup?

Yes. Server routes can return a provider-hosted URL, such as a payment link or subscription short_url, when the merchant account supports hosted mode.

Why is my subscription checkout failing?

Recurring payments may not be enabled on the account. If Razorpay reports that the seller does not support recurring payments, enable subscriptions before retrying.

Build the first version today.

Start with one clear prompt. BYOB will help turn it into a product you can inspect, edit, test, and ship.