-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
25 lines (21 loc) · 1.28 KB
/
.env.example
File metadata and controls
25 lines (21 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Recharge API Configuration
# RECHARGE API KEY (REQUIRED for most functionality)
# Get this from your Recharge merchant portal: Apps > Custom integrations > Private App
# Must be an Admin API key from Private App integration (starts with sk_ for live or sk_test_ for sandbox)
# NOT a storefront API key or webhook signing secret
# If not set here, clients MUST provide api_key parameter with each request
RECHARGE_API_KEY=sk_live_your_admin_api_key_here
# RECHARGE API URL (usually doesn't need to be changed)
# Use https://api.rechargeapps.com for production
# Use sandbox URL if you have a sandbox account
RECHARGE_API_URL=https://api.rechargeapps.com
# API REQUEST CONFIGURATION
# Timeout for API requests in milliseconds (default: 30 seconds)
RECHARGE_API_TIMEOUT=30000 # Request timeout in milliseconds (default: 30000)
# Number of retry attempts for failed requests (default: 3)
RECHARGE_API_RETRY_ATTEMPTS=3 # Number of retry attempts for failed requests (default: 3)
# Base delay between retries in milliseconds (uses exponential backoff)
RECHARGE_API_RETRY_DELAY=1000 # Base delay between retries in milliseconds (default: 1000)
# SERVER CONFIGURATION
# Environment: development, production, test
NODE_ENV=production # Environment: development, production