forked from brotherlw/foudner-hackathon
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.json.example
More file actions
41 lines (41 loc) · 1020 Bytes
/
Copy pathconfig.json.example
File metadata and controls
41 lines (41 loc) · 1020 Bytes
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"currency": "EUR",
"gateway": {
"listen_addr": ":3001",
"grant_secret": "dev-only-change-me",
"grant_ttl_seconds": 3600,
"grant_private_key_path": "secrets/grant-ed25519.key",
"grant_quota": 1,
"base_url": "http://localhost:3001"
},
"wallet": {
"daily_budget": 5.00,
"auto_pay_threshold": 1.00
},
"provider": "mock",
"mollie": {
"api_key_env": "MOLLIE_API_KEY",
"webhook_url": "http://localhost:3001/webhooks/payment",
"redirect_url": "http://localhost:3001/payment/return"
},
"ledger": {
"path": "ledger/events.jsonl"
},
"data_residency": {
"region": "eu",
"allowed_sub_processors": ["mollie.com"],
"ip_hash_salt": "dev-only-change-me",
"storage_location": "local append-only JSONL ledger"
},
"demo": {
"enable_test_completion": true
},
"protected_resources": [
{
"path": "/api/premium-report",
"amount": "0.50",
"currency": "EUR",
"description": "Premium market summary report"
}
]
}