Interface: ClickPesaConfig

Defined in: providers/clickpesa/src/clickpesa.ts:31

Properties

PropertyTypeDescriptionDefined in
apiKeystringAPI key from ClickPesa dashboard.providers/clickpesa/src/clickpesa.ts:35
baseUrl?stringExplicit base URL override. Takes precedence over sandbox. You rarely need this — prefer sandbox: true for testing and sandbox: false for production.providers/clickpesa/src/clickpesa.ts:60
checksumKey?stringOptional checksum key for HMAC-SHA256 signing. When set, every POST/PUT/PATCH request body is automatically signed with a checksum field. Also used for verifying incoming webhook signatures. Generate this in the ClickPesa dashboard.providers/clickpesa/src/clickpesa.ts:43
clientIdstringClient ID from ClickPesa dashboard.providers/clickpesa/src/clickpesa.ts:33
sandbox?booleanTarget the sandbox environment. When true, defaults to https://api-sandbox.clickpesa.com. When false (default), uses https://api.clickpesa.com. Set baseUrl directly to override both — useful for local proxies or staging environments.providers/clickpesa/src/clickpesa.ts:53

On this page