Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

CardBlock API

India payment card issuer directory with fraud reporting contacts.

Quick Start

# Install dependencies
pip install -r requirements.txt

# Run server
python main.py

API Endpoints

  • GET / - Root info
  • GET /health - Health check
  • GET /api/banks - List all banks
  • GET /api/banks/{id} - Bank details
  • GET /api/in/banks - Indian banks (shortcut)
  • GET /api/search?q=hdfc - Search banks

Docker

docker build -t card-block .
docker run -p 8000:8000 card-block

Environment Variables

  • DATABASE_URL - Database connection (default: sqlite:///./cardblock.db)
  • PORT - Server port (default: 8000)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages