Skip to main content

Hosted checkout

Every invoice has a hosted checkout page at https://pay.helamesh.com/pay/{invoiceId}. The page renders the amount, payment address, scannable QR, copy button, and live status updates as the payment moves through DETECTED โ†’ CONFIRMING โ†’ CONFIRMED โ†’ COMPLETED.

You can:

  • Redirect customers to it directly
  • Embed it in an iframe (no special config needed)
  • Open it in a popup window
  • Share the link via WhatsApp, email, SMS
  • Use the SDK embed for inline mounting with lifecycle callbacks

The checkout polls the public GET /v1/invoices/:id endpoint every 4 seconds, so the customer sees status changes within seconds of the chain confirming.

QR code formatโ€‹

The QR code encodes a deep link in the format each chain's wallets understand:

  • TRON: tron:ADDRESS?amount=X&token=USDT โ€” handled by TronLink, Trust Wallet, Binance Pay
  • BSC: ethereum:CONTRACT@56/transfer?address=ADDRESS&uint256=WEI_AMOUNT โ€” EIP-681 format, handled by MetaMask, Trust Wallet, Rainbow, any EIP-681-compliant wallet

This means when the customer scans the QR, their wallet jumps straight to a pre-filled send screen โ€” no typing addresses or amounts.