You are helping me integrate NemoAPI Solana payments into my application.NemoAPI is a hosted Solana payment platform. I already have a payment page set up at: https://nemoapi.xyz/{MY_ORG}/{MY_PROJECT}When a customer clicks Pay on that page:1. They connect their Phantom wallet2. They send 0.5 SOL directly to my Solana wallet (non-custodial, 0% fee)3. The transaction is confirmed on Solana mainnet4. They are redirected to my site at: {MY_REDIRECT_URL}?tx=SOLANA_TX_SIGNATURE&status=success─────────────────────────────────────────WHAT I NEED YOU TO BUILD─────────────────────────────────────────1. A success/thank-you page at my redirect URL that: - Reads the ?tx= and ?status= query params - Shows a loading state while verifying - Calls my server to verify the payment - Shows a success message with a Solscan link - Marks the user as paid in my database - Guards against replay attacks (same tx used twice)2. A server-side API route that verifies the payment: - Accepts { txSig: string } - Verifies the transaction exists on Solana mainnet - Checks: tx has no error, destination is MY_WALLET, amount >= 0.5 SOL - Checks the tx is not already used (unique constraint) - Records the payment and returns { verified: true }─────────────────────────────────────────HOW TO VERIFY A SOLANA PAYMENT SERVER-SIDE─────────────────────────────────────────Use the nemoapi SDK (npm install nemoapi) or raw RPC:import { verifyPayment } from 'nemoapi';const result = await verifyPayment(txSig, { receivingWallet: 'YOUR_SOLANA_WALLET',});if (!result.verified) throw new Error(result.error);// result.fromWallet, result.amount, result.blockTime are available─────────────────────────────────────────MY PROJECT DETAILS (fill these in)─────────────────────────────────────────- NemoAPI payment URL : https://nemoapi.xyz/[YOUR_ORG]/[YOUR_PROJECT]- My receiving wallet : [YOUR_SOLANA_WALLET_ADDRESS]- Redirect URL : [YOUR_REDIRECT_URL]- Expected amount : 0.5 SOL─────────────────────────────────────────MY TECH STACK (fill this in)─────────────────────────────────────────Framework : [e.g. Next.js 14, Nuxt, Express, Laravel, Django]Database : [e.g. PostgreSQL / Prisma, Supabase, MongoDB]Auth : [e.g. NextAuth, Clerk, Supabase Auth]Language : [TypeScript / JavaScript / Python / PHP]─────────────────────────────────────────SECURITY REQUIREMENTS─────────────────────────────────────────- Never trust the client — always verify on-chain server-side- Store used tx signatures with a UNIQUE constraint (replay attack prevention)- Validate the tx signature is base58, 87-88 chars, before calling RPC- Rate-limit the verify endpoint (20 req/min per IP)- The tx signature is public and safe to display─────────────────────────────────────────AFTER VERIFICATION─────────────────────────────────────────1. Insert a payment record: tx_signature, from_wallet, amount, timestamp2. Update the user's account (set plan = 'pro', add credits, unlock feature, etc.)3. Send a confirmation email if applicable4. Return { success: true } to the client5. Show the success UI / redirectNow implement this for my tech stack. Start with the server-side verify route, then the success page.