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 promptSetup
Get your credentials
Grab your API key and instance ID from the BlindPay dashboard.
Add Vercel env vars
Bash
.env.localAdd 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.tsThe secret key must only be read in server code (route handlers, server actions). Never ship it to the client.