Skip to content

Latest commit

Β 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Telegram Card Checker Bot

Professional Telegram bot for credit card BIN validation and payment gateway testing. Built with Python, Pyrogram, and async architecture for high performance and reliability.

Python Pyrogram License Async

Features

Core Functionality

  • BIN Lookup System: Retrieve detailed credit card BIN information including bank, country, card type, and level
  • Multiple Payment Gateways: 25+ integrated payment gateway checkers for comprehensive testing
  • Mass Checking: Batch processing capabilities for testing multiple cards simultaneously
  • Card Generation: Generate valid card numbers from BIN patterns

User Management

  • Premium Membership System: Multi-tier access control with credits and expiration dates
  • User Ranks: Free, Premium, Seller, and Admin hierarchy with different permissions
  • Key System: Secure redeemable keys for premium access distribution
  • Credit System: Track and manage user checking credits

Administration

  • Admin Panel: Complete user management, credits allocation, and system configuration
  • User Control: Ban/unban users, grant/revoke premium access
  • Broadcast System: Send announcements to all users or specific groups
  • Anti-spam Protection: Configurable rate limiting and cooldown periods
  • Logs Channel: Automated logging of important events and transactions

Technical Features

  • Async Architecture: Non-blocking I/O operations for optimal performance
  • SQLite Database: Lightweight local storage for users, keys, and BIN data
  • Multi-language Support: Configurable response messages
  • Error Handling: Comprehensive error management and user feedback
  • Session Management: Persistent Telegram sessions

Quick Start

Prerequisites

Installation

  1. Clone the repository
git clone https://github.com/mat1520/telegram-card-checker-bot.git
cd telegram-card-checker-bot
  1. Create a virtual environment
python -m venv .venv
  1. Activate the virtual environment

Windows:

.venv\Scripts\activate

Linux/Mac:

source .venv/bin/activate
  1. Install dependencies
pip install -r requirements.txt
  1. Configure the bot

Edit main.py and set your credentials:

API_ID = 'YOUR_API_ID'
API_HASH = 'YOUR_API_HASH'
BOT_TOKEN = 'YOUR_BOT_TOKEN'
CHANNEL_LOGS = 'YOUR_LOG_CHANNEL_ID'
  1. Run the bot
python main.py

πŸ“ Project Structure

mat1520-checker/
β”œβ”€β”€ assets/              # Configuration files and resources
β”‚   β”œβ”€β”€ banned_bins.json
β”‚   β”œβ”€β”€ countrys.json
β”‚   β”œβ”€β”€ gates.json
β”‚   β”œβ”€β”€ responses.json
β”‚   └── proxies.txt
β”œβ”€β”€ gates/              # Payment gateway checker modules
β”‚   β”œβ”€β”€ adriana.py
β”‚   β”œβ”€β”€ aktz.py
β”‚   β”œβ”€β”€ astharoth.py
β”‚   └── ... (25+ gates)
β”œβ”€β”€ plugins/            # Bot command handlers
β”‚   β”œβ”€β”€ admin/         # Admin-only commands
β”‚   β”œβ”€β”€ gates_cmds/    # Gateway command handlers
β”‚   β”œβ”€β”€ handlers/      # Message handlers
β”‚   └── users/         # User commands
β”œβ”€β”€ utilsdf/           # Utility functions and database
β”‚   β”œβ”€β”€ db.py          # Database operations
β”‚   β”œβ”€β”€ functions.py   # Helper functions
β”‚   β”œβ”€β”€ vars.py        # Constants and variables
β”‚   └── generator.py   # Card generation utilities
β”œβ”€β”€ main.py            # Bot entry point
└── requirements.txt   # Python dependencies

Available Commands

User Commands

  • /start - Initialize bot and display welcome message
  • /cmds - Display all available commands
  • /bin <bin> - Retrieve BIN information
  • /gbin <bin> - Generate card numbers from BIN
  • /id - Display user ID and account status
  • /plan - Check subscription plan details
  • /key <key> - Redeem premium access key

Gateway Commands

Format: /gatename cc|mm|yyyy|cvv

Available gateways: adriana, aktz, astharoth, boruto, brenda, darkito, devilsx, djbaby, ghoul, hinata, hoshigaki, ka, ko, lynx, odali, pepe, pussy, rohee, sebas, sexo, zukesito

Example:

/adriana 4111111111111111|12|2025|123

Admin Commands

  • /addpremium <user_id> <days> <credits> - Grant premium membership
  • /removepremium <user_id> - Revoke premium membership
  • /ban <user_id> - Ban user from bot
  • /unban <user_id> - Unban user
  • /broadcast <message> - Send message to all users
  • /setantispam <seconds> - Configure rate limiting delay
  • /addgp - Add group to whitelist
  • /key - Manage premium access keys

Configuration

Database

SQLite databases are automatically created on first run:

  • db_bot.db - User data, memberships, and keys
  • bins.db - BIN information cache

Assets Configuration

gates.json

Configure payment gateway settings:

{
  "gate_name": {
    "status": true,
    "response": "Gateway response message",
    "cc": "Required format: xxxx xxxx xxxx xxxx|mm|yyyy|cvv"
  }
}

responses.json

Customize bot response messages and templates.

banned_bins.json

Define blocked BINs to prevent checking.

Development

Testing Gateways

Verify gateway functionality with test scripts:

python test_gates_direct.py

Generates detailed test reports for all configured gateways.

Adding New Gateways

  1. Create gateway file in gates/ directory
  2. Implement async function:
async def your_gate(cc: str, month: str, year: str, cvv: str) -> tuple:
    # Gateway testing logic
    return status, message
  1. Create command handler in plugins/gates_cmds/
  2. Update assets/gates.json configuration

Code Style

  • Follow PEP 8 guidelines
  • Use async/await for I/O operations
  • Implement proper error handling and logging
  • Document complex functions with docstrings

Premium System Details

Credit Management

  • Each user account maintains a credit balance
  • Credits are consumed per gateway check operation
  • Admins can allocate credits to users

Membership Tiers

  • Free: Limited access to basic features
  • Premium: Full gateway access with credits
  • Seller: Advanced features for resellers
  • Admin: Complete system control

Key System

  • Generate redeemable keys for premium access
  • Configure duration and credits per key
  • Track key usage and redemption history

Anti-Spam Configuration

Implement rate limiting to prevent abuse:

/setantispam 5

Sets a 5-second cooldown between command executions.

BIN Lookup Capabilities

Retrieve detailed card information:

  • Card brand identification (Visa, Mastercard, American Express, Discover)
  • Card type classification (Credit, Debit, Prepaid)
  • Card level determination (Classic, Gold, Platinum, Business)
  • Issuing bank information
  • Country of origin
  • Additional BIN metadata

Security Considerations

  • Store sensitive credentials in environment variables
  • Never commit tokens or API keys to version control
  • Telegram handles user authentication
  • Rate limiting prevents system abuse
  • Admin operations restricted by user ID verification

Environment Variables

Configure credentials securely:

import os

API_ID = os.getenv('TELEGRAM_API_ID')
API_HASH = os.getenv('TELEGRAM_API_HASH')
BOT_TOKEN = os.getenv('TELEGRAM_BOT_TOKEN')

Create a .env file:

TELEGRAM_API_ID=your_api_id
TELEGRAM_API_HASH=your_api_hash
TELEGRAM_BOT_TOKEN=your_bot_token

Contributing

Contributions are welcome. Please follow these steps:

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/new-gateway
  3. Commit changes: git commit -m 'Add new payment gateway'
  4. Push to branch: git push origin feature/new-gateway
  5. Submit a Pull Request

See CONTRIBUTING.md for detailed guidelines.

Legal Disclaimer

This software is provided for educational and testing purposes only. Users are solely responsible for compliance with all applicable laws and regulations. The developers assume no liability for misuse or damages.

Important:

  • Do not use for unauthorized transactions
  • Respect payment gateway terms of service
  • Obtain proper authorization before testing
  • Comply with local and international laws

License

Licensed under the MIT License. See LICENSE file for complete terms.

Credits

Built with:

Support

Get help:

  • Report bugs via GitHub Issues
  • Review documentation in /docs
  • Check existing issues before creating new ones
  • Consult INSTALLATION.md for setup help

Updates

Keep your installation current:

git pull origin main
pip install -r requirements.txt --upgrade
python main.py

Telegram Card Checker Bot - Professional BIN validation and gateway testing platform

telegram-card-checker-bot

About

Professional Telegram bot for credit card BIN validation and payment gateway testing. Features 25+ gateway integrations, user management system, premium memberships, mass checking capabilities, and comprehensive admin controls. Built with Python and Pyrogram.

Topics

Resources

Contributing

Stars

25 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages