Skip to content
PesaKit
Search
Ctrl
K
Cancel
GitHub
Select theme
Dark
Light
Auto
Get Started
Quick Start
Configuration
Node Runtime and ESM
Guides
STK Push and Query
End-to-End STK Payment Flow
C2B Register URLs and Simulation
Dynamic QR
B2C Payments
Account Balance
Transaction Status
Pull Transactions
Reversal
Callbacks and Local Testing
Operations
Get Sandbox Credentials
Callback Reliability and Reconciliation
Go Live Checklist
Reference
Reference Guides
Error Reference
Result and Status Reference
Troubleshooting
API Coverage
Versioning and Compatibility
SDK API
Classes
Mpesa
MpesaAuthError
MpesaCallbackError
MpesaError
MpesaRequestError
MpesaValidationError
Interfaces
AccountBalanceInput
AccountBalanceResponse
AccountModule
B2CModule
B2CSendInput
B2CSendResponse
C2BConfirmationPayload
C2BModule
C2BRegisterUrlsInput
C2BRegisterUrlsResponse
C2BSimulateInput
C2BSimulateResponse
C2BValidationPayload
C2BValidationResponse
CallbackItem
CallbackResponseOverride
CallbackRoute
CreateCallbackHandlerOptions
DarajaResultPayload
MpesaConfig
PullModule
PullQueryInput
PullQueryResponse
PullRegisterInput
PullRegisterResponse
PullTransactionRecord
QrGenerateInput
QrGenerateResponse
QrModule
ResolvedMpesaConfig
ReversalInput
ReversalModule
ReversalResponse
StkModule
StkPushCallbackPayload
StkPushInput
StkPushResponse
StkPushSuccessMetadata
StkQueryInput
StkQueryResponse
TransactionModule
TransactionStatusInput
TransactionStatusResponse
Type Aliases
B2CCommandId
Environment
PullFilterType
QrTransactionCode
ResponseType
ResultParametersMap
ReversalCommandId
ReversalReceiverIdentifierType
StkPushResult
TransactionType
Variables
C2B_VALIDATION_ACCEPT
C2B_VALIDATION_REJECT
MPESA_ENV_KEYS
Functions
c2BConfirmationRoute
c2bValidationResponse
c2BValidationRoute
createCallbackHandler
darajaResultRoute
getResultParametersMap
getStkMetadata
parseC2BConfirmation
parseC2BValidation
parseDarajaResult
parseStkPushCallback
resolveConfig
stkPushRoute
Project
Contributing
GitHub
Select theme
Dark
Light
Auto
Environment
Environment
=
"sandbox"
|
"production"
Defined in:
src/config.ts:8