Interface: ClickPesaConfig
Defined in: providers/clickpesa/src/clickpesa.ts:31
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
apiKey | string | API key from ClickPesa dashboard. | providers/clickpesa/src/clickpesa.ts:35 |
baseUrl? | string | Explicit 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? | string | Optional 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 |
clientId | string | Client ID from ClickPesa dashboard. | providers/clickpesa/src/clickpesa.ts:33 |
sandbox? | boolean | Target 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 |