Crypto payment integration guides

Create a payment, send the checkout page, verify the webhook signature and mark the order paid, for your language and framework.

Node.jsAccept USDT, BTC and other coins in Node.js with the @moonvex/node SDK: create payments, use the hosted payment page, verify webhook signatures.ExpressAccept crypto in Express.js without an SDK: create payments with fetch, use express.raw for webhooks, verify HMAC-SHA256 with timingSafeEqual and dedupe events.NestJSMoonvex in NestJS: a service around the @moonvex/node SDK, a payment controller, rawBody for webhook signatures and idempotent order updates in TypeORM.Next.jsAccept crypto in the Next.js App Router: a Route Handler creates the Moonvex payment, the webhook reads the raw body and verifies it with the @moonvex/node SDK.PythonAccept USDT, BTC, ETH and TON in Python: create payments with requests, use the hosted payment page, verify webhooks with hmac.compare_digest, stay idempotent.DjangoConnect Moonvex to Django: a payment view with a redirect, a csrf_exempt webhook with HMAC verification and idempotent order updates in transaction.atomic.FastAPIAsync Moonvex integration for FastAPI: payments via httpx.AsyncClient, a webhook with await request.body(), HMAC-SHA256 checks, idempotency with asyncpg.PHPAccept crypto in plain PHP: create payments with cURL, redirect to the payment page, verify webhook signatures with hash_equals and update orders via PDO.LaravelAccept crypto in Laravel: payments with the Http client, a redirect to the payment page, a CSRF-exempt webhook, signature checks and insertOrIgnore.WooCommerceNo ready-made Moonvex plugin for WooCommerce exists yet. This guide builds your own gateway on the API: USDT checkout, a WordPress REST webhook, order updates.GoA Moonvex integration in Go: create payments with net/http, verify webhook signatures with crypto/hmac and hmac.Equal, mark orders paid once with database/sql.Java Spring BootAccept crypto in Spring Boot: payments with RestClient, the webhook as @RequestBody byte[], HMAC-SHA256 with MessageDigest.isEqual, dedupe in JdbcTemplate.C# ASP.NET CoreAccept crypto in C# and ASP.NET Core: create payments with HttpClient, a Minimal API webhook, HMACSHA256 and FixedTimeEquals, idempotent updates in EF Core.Ruby on RailsIntegrate Moonvex into Rails: create payments with Net::HTTP, redirect_to with allow_other_host, a skip_forgery_protection webhook, HMAC checks, a unique index.aiogramAccept crypto in a Telegram bot with Python and aiogram 3: an invoice on command, a pay button, an aiohttp webhook with signature checks, and balance top-ups.TelegrafAccept crypto in a Telegram bot with Node.js and Telegraf: invoices via the @moonvex/node SDK, a pay button, an Express webhook and balance top-ups.

Start accepting payments today

An account and your first project in a minute, no monthly fee.

Create account