Skip to Content
SDK ReferenceReferenceInterfacesInterface: VectaPayClientConfig

Interface: VectaPayClientConfig

Properties

apiKey

apiKey: string;

Get this from the dashboard → API Keys. Starts with pk_test_ or pk_live_.


baseUrl?

optional baseUrl?: string;

Override the API base URL, including any path prefix — every resource method’s path is appended to this as-is. Only needed when self-hosting.

Default

"https://api.vectapay.co.ke/api/v1"

debug?

optional debug?: boolean;

Logs every request/response to the console. Disable in production.

Default

false

retryConfig?

optional retryConfig?: RetryConfig;

timeout?

optional timeout?: number;

Default

30000
Last updated on