What You Will Build
By the end of this tutorial you will have a working Node.js server that creates payment sessions, displays a deposit address to your customers, and fulfills orders automatically when USDT arrives on-chain.
Prerequisites
- Node.js 18+
- A Paychainly account (free at paychainly.com)
- ngrok or a public server for webhook testing
Chapters
- Account setup and first API key (0:00)
- Creating a payment session via REST API (3:45)
- Displaying the deposit address and countdown timer (8:20)
- Setting up the webhook endpoint (14:10)
- Verifying the HMAC signature (19:30)
- Fulfilling the order on payment confirmation (24:00)
- Testing with sandbox mode (28:45)
- Going live checklist (33:00)