v0 + BlindPay

Add stablecoin payments to a v0 (Vercel) Next.js app: payout, on-ramp, and virtual-account flows via the BlindPay API and a copy-paste prompt.

v0 by Vercel generates Next.js apps from prompts. This guide adds stablecoin payments to a v0 project: payouts, on-ramps, and virtual accounts: via the BlindPay REST API and Next.js route handlers.

Copy-paste prompt

text
v0 prompt

Setup

Get your credentials

Grab your API key and instance ID from the BlindPay dashboard.

Add Vercel env vars

Bash
.env.local

Add the same vars in your Vercel project settings for production.

Paste the prompt

Paste the prompt into v0, then deploy. Verify the generated route against the API reference.

Example route handler

TypeScript
app/api/payout/route.ts

The secret key must only be read in server code (route handlers, server actions). Never ship it to the client.

Next steps

FAQ