# Nigerian Fintech Platform Environment Configuration
# Copy this file to .env and update the values according to your environment

# TODO: Add environment validation to ensure all required variables are set
# TODO: Create separate .env files for different environments (local, staging, production)

APP_NAME="AbokiPay"
APP_ENV=local
APP_KEY=base64:jkI2vO9mQtw9ekyYeRU/HPu2vDKd9gtC5g+lTpr3aFk=
APP_DEBUG=true
APP_TIMEZONE=Africa/Lagos
APP_URL=https://fintech.freedemosite.xyz/

APP_LOCALE=en
APP_FALLBACK_LOCALE=en
APP_FAKER_LOCALE=en_US

APP_MAINTENANCE_DRIVER=file
APP_MAINTENANCE_STORE=database

BCRYPT_ROUNDS=12

# TODO: Add comprehensive logging configuration
LOG_CHANNEL=stack
LOG_STACK=single
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug
# TODO: Add production logging (Slack, email alerts)
# LOG_SLACK_WEBHOOK_URL=
# LOG_EMERGENCY_EMAIL=
# SENTRY_LARAVEL_DSN=

# Database Configuration
# TODO: Add connection pooling settings for production
# TODO: Add read/write database separation for scaling
DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=freedemo_fintech
DB_USERNAME=freedemo_fintech
DB_PASSWORD=freedemo_fintech
# TODO: Add these for production optimization
# DB_POOL_MIN=2
# DB_POOL_MAX=10
# DB_CHARSET=utf8mb4
# DB_COLLATION=utf8mb4_unicode_ci

# Session and Security Configuration
SESSION_DRIVER=database
SESSION_LIFETIME=120
SESSION_ENCRYPT=false
SESSION_PATH=/
SESSION_DOMAIN=null
# TODO: Add security settings for production
# SESSION_SECURE_COOKIE=true
# SESSION_SAME_SITE=strict
# SANCTUM_STATEFUL_DOMAINS=your-frontend-domain.com

BROADCAST_CONNECTION=log
FILESYSTEM_DISK=local
QUEUE_CONNECTION=database
# TODO: Add Redis queue configuration for production
# QUEUE_CONNECTION=redis
# QUEUE_FAILED_DRIVER=database

CACHE_STORE=database
CACHE_PREFIX=
# TODO: Add Redis caching for production performance
# CACHE_STORE=redis
# REDIS_CACHE_DB=1

MEMCACHED_HOST=127.0.0.1

REDIS_CLIENT=phpredis
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_MAILER=log
MAIL_HOST=mail.freedemosite.xyz
MAIL_PORT=465
MAIL_USERNAME=itan@freedemosite.xyz
MAIL_PASSWORD=Happy1@#$1
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS="itan@freedemosite.xyz"
MAIL_FROM_NAME="${APP_NAME}"

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=
AWS_USE_PATH_STYLE_ENDPOINT=false

VITE_APP_NAME="${APP_NAME}"

# Paystack Configuration
PAYSTACK_PUBLIC_KEY=pk_test_xxxxxxxxxxxxxxxxxxxxxxxxxx
PAYSTACK_SECRET_KEY=sk_test_xxxxxxxxxxxxxxxxxxxxxxxxxx
PAYSTACK_PAYMENT_URL=https://api.paystack.co
PAYSTACK_MERCHANT_EMAIL=merchant@example.com

# Monnify Configuration
MONNIFY_API_KEY=MK_TEST_xxxxxxxxxxxxxxxxxxxxxxxxxx
MONNIFY_SECRET_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxx
MONNIFY_CONTRACT_CODE=xxxxxxxxxxxxxxxxxxxxxxxxxx
MONNIFY_BASE_URL=https://sandbox.monnify.com

# Anchor Configuration
ANCHOR_SECRET_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxx
ANCHOR_PUBLIC_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxx
ANCHOR_BASE_URL=https://api.sandbox.getanchor.co

# VTPass Configuration
VTPASS_USERNAME=xxxxxxxxxxxxxxxxxxxxxxxxxx
VTPASS_PASSWORD=xxxxxxxxxxxxxxxxxxxxxxxxxx
VTPASS_BASE_URL=https://sandbox.vtpass.com

# Dojah Configuration (KYC)
DOJAH_APP_ID=xxxxxxxxxxxxxxxxxxxxxxxxxx
DOJAH_SECRET_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxx
DOJAH_BASE_URL=https://sandbox.dojah.io

# VerifyMe Configuration (KYC)
VERIFYME_USERNAME=xxxxxxxxxxxxxxxxxxxxxxxxxx
VERIFYME_PASSWORD=xxxxxxxxxxxxxxxxxxxxxxxxxx
VERIFYME_BASE_URL=https://developer.verifymy.co.uk

# Bloc.io Configuration (Virtual Cards)
BLOC_SECRET_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxx
BLOC_PUBLIC_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxx
BLOC_BASE_URL=https://blochq.io

# Wallets Africa Configuration (Virtual Cards)
WALLETS_AFRICA_PUBLIC_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxx
WALLETS_AFRICA_SECRET_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxx
WALLETS_AFRICA_BASE_URL=https://api.wallets.africa

# SMS Configuration
SMS_DRIVER=log
SMS_USERNAME=
SMS_PASSWORD=
SMS_FROM=

# Temii SMS Configuration
TERMII_API_KEY=TLhssgOqHWXQkaBMBoZFAfvXEoTlxNasrhTJralNYYGRKyLVUpenWhgaIaQSPG
TERMII_BASE_URL=https://v3.api.termii.com
TERMII_SENDER_ID=Palmigo

# Security
HASH_VERIFY=true
BCRYPT_ROUNDS=12

# Rate Limiting
THROTTLE_REQUESTS=60
THROTTLE_MINUTES=1

# Transaction Limits
DAILY_TRANSACTION_LIMIT=1000000
MONTHLY_TRANSACTION_LIMIT=5000000
MAXIMUM_SINGLE_TRANSACTION=500000