MCPcopy Index your code
hub / github.com/PaystackOSS/paystack-mcp-server / createPaystackConfig

Function createPaystackConfig

src/config.ts:35–42  ·  view source on GitHub ↗
(cliApiKey?: string)

Source from the content-addressed store, hash-verified

33
34// Paystack API configuration factory
35export 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}

Callers 2

createPaystackClientFunction · 0.90

Calls 1

getConfigFunction · 0.85

Tested by

no test coverage detected