How nirobahsanx/cbpay-open-amount works
CBPay Open-Amount Payment Page lets a customer enter an amount and request a USDT checkout. The Express server validates the amount, creates an idempotency key, and sends a checkout request to CBPay; it returns the checkout URL to the browser. The API key stays server-side. The page source is listed in the tree but was not excerpted, so its specific submission behavior is supported only by the README; health-check behavior is visible in server.js.
Main entry points: server.js Checkout handler · index.html Payment page
Components 5
Customer checkout
- Payment page
public/index.html
Server runtime
- Checkout handler
server.js - Health check
server.js
Other components
- Customer
- CBPay API
Connections 4
- Customer → Payment page: enters amount
README.md - Payment page → Checkout handler: requests checkout
README.md - Checkout handler → CBPay API: creates payin
server.js - Checkout handler → Payment page: returns checkout URL
server.js