MpesaConfig

data class MpesaConfig(val gatewayId: GatewayId = GatewayId("mpesa"), val displayName: String = "M-Pesa", val region: String = "Kenya/Tanzania", val docsPath: String = "docs/providers/mpesa.md", val blurb: String = "Daraja STK push — confirmation happens on the payer's phone, no in-app SDK/UI.", val capabilities: Set<Capability> = setOf(Capability.ONE_TIME_PAYMENT, Capability.WALLET), val status: GatewayStatus = GatewayStatus.MOCK_MODE)

M-Pesa Daraja (STK push) — its own module (rather than folding into the generic com.siddharth.kmp.provider.mobilemoney fan-out) so it gets its own mock webhook settle route (POST /mock/mpesa/{orderId}/settle) instead of the shared /mock/momo/{provider} delayed-flip. Same PENDING/AWAITING_WEBHOOK result — only the settle route ownership changes.

Constructors

Link copied to clipboard
constructor(gatewayId: GatewayId = GatewayId("mpesa"), displayName: String = "M-Pesa", region: String = "Kenya/Tanzania", docsPath: String = "docs/providers/mpesa.md", blurb: String = "Daraja STK push — confirmation happens on the payer's phone, no in-app SDK/UI.", capabilities: Set<Capability> = setOf(Capability.ONE_TIME_PAYMENT, Capability.WALLET), status: GatewayStatus = GatewayStatus.MOCK_MODE)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard