(cliApiKey?: string)
| 33 | |
| 34 | // Paystack API configuration factory |
| 35 | export function createPaystackConfig(cliApiKey?: string) { |
| 36 | const cfg = getConfig(cliApiKey); |
| 37 | return { |
| 38 | baseURL: 'https://api.paystack.co', |
| 39 | secretKey: cfg.PAYSTACK_TEST_SECRET_KEY, |
| 40 | timeout: 30000, // 30 seconds |
| 41 | } as const; |
| 42 | } |
no test coverage detected