framework · BNB Chain
Next.js on BNB Chain
Accept USDT & USDC through Next.js with settlement on BNB Chain. Integrate Zateway with Next.js. App Router API routes create sessions and verify webhooks. Non-custodial USDT & USDC on Polygon, Solana, Base, BSC, Arbitrum, Optimism.
Steps
- Create a Zateway account and copy your API key.
- Connect your self-custody wallet address for Next.js (BNB Chain) settlements.
- Create a payment session via API, plugin, or payment link for Next.js (BNB Chain).
- Redirect customers to hosted checkout or embed the widget in Next.js (BNB Chain).
- Verify HMAC-signed webhooks and fulfill the order in Next.js (BNB Chain).
- Select BNB Chain when creating the payment session for lowest surprise fees.
POST https://zateway.com/api/v1/sessions with x-api-key — then open checkoutUrl from Next.js. // Prefer chain: "bsc" for Next.js checkout