Interface: SelcomConfig
Defined in: providers/selcom/src/selcom.ts:30
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
apiKey | string | API key from Selcom. | providers/selcom/src/selcom.ts:34 |
apiSecret | string | API secret for HMAC signing. | providers/selcom/src/selcom.ts:36 |
baseUrl? | string | Base URL. Defaults to https://apigw.selcommobile.com. | providers/selcom/src/selcom.ts:32 |
cancelUrl? | string | Cancel URL for checkout orders. The customer is sent here if they abandon the payment. Base64-encoded per Selcom spec. | providers/selcom/src/selcom.ts:65 |
pin | string | Float account PIN — required for disbursement and balance queries. | providers/selcom/src/selcom.ts:40 |
redirectUrl? | string | Default redirect URL for checkout orders. The customer is sent here after completing payment. Overridable per-payment via CreateOrderPayload.redirectUrl. | providers/selcom/src/selcom.ts:60 |
senderAccount? | string | Source account number for Qwiksend bank transfers. Defaults to vendor if not set. | providers/selcom/src/selcom.ts:45 |
senderName? | string | Account holder display name for bank transfers. Defaults to vendor if not set. | providers/selcom/src/selcom.ts:50 |
senderPhone? | string | Sender mobile number for bank transfers. | providers/selcom/src/selcom.ts:54 |
vendor | string | Float account / vendor identifier. | providers/selcom/src/selcom.ts:38 |
webhookUrl? | string | Webhook callback URL for payment status notifications. Selcom POSTs the payment result here. Typically your pesa.mountWebhook endpoint. Base64-encoded per Selcom spec. | providers/selcom/src/selcom.ts:71 |