Skip to content

Latest commit

Β 

History

History
28 lines (21 loc) Β· 1.55 KB

File metadata and controls

28 lines (21 loc) Β· 1.55 KB

Chainpaye-Backend

ChainPaye, for Seamless cross-border payments through WhatsApp powered by Toronet blockchain. Send money between US and Nigeria instantly with PIN-protected wallets, bank integration, and multi-currency support (ToroUSD/ToroNGN). Built with Node.js, TypeScript, MongoDB, and WhatsApp Business API.

Features

  • πŸ”— Payment Link Generation: Create secure payment links for transactions
  • πŸ’³ Multi-Currency Support: NGN, USD, GBP, EUR with appropriate payment methods
  • πŸ”„ Background Verification: Automatic payment verification every 5 minutes for 24 hours
  • πŸ“§ Email Notifications: Confirmation and expiration emails with HTML templates
  • πŸͺ Webhook Integration: Merchant notifications via success URLs
  • πŸ“Š Transaction Management: Complete transaction lifecycle with state management
  • πŸ›‘οΈ Rate Limiting: Comprehensive rate limiting for API protection
  • πŸ“ Audit Trail: Complete audit logging for all operations
  • 🌐 CORS Support: Configurable cross-origin resource sharing

Background Verification System

The system includes an automated background verification service that:

  • βœ… Monitors PENDING transactions every 5 minutes
  • βœ… Verifies payments with Toronet API
  • βœ… Sends email notifications on confirmation/expiration
  • βœ… Triggers merchant webhooks when payments are confirmed
  • βœ… Automatically expires transactions after 24 hours
  • βœ… Provides comprehensive audit logging

See BACKGROUND_VERIFICATION.md for detailed documentation.