StkPushInput
Defined in: src/modules/stk/types.ts:7
Properties
Section titled “Properties”accountReference
Section titled “accountReference”accountReference:
string
Defined in: src/modules/stk/types.ts:15
Account reference (e.g. invoice number).
amount
Section titled “amount”amount:
number
Defined in: src/modules/stk/types.ts:11
Amount to charge.
callbackUrl
Section titled “callbackUrl”callbackUrl:
string
Defined in: src/modules/stk/types.ts:13
Callback URL for result.
phoneNumber
Section titled “phoneNumber”phoneNumber:
string
Defined in: src/modules/stk/types.ts:9
Customer phone (254XXXXXXXXX).
shortCode?
Section titled “shortCode?”
optionalshortCode:string
Defined in: src/modules/stk/types.ts:19
Optional: shortcode override (defaults to config).
transactionDesc
Section titled “transactionDesc”transactionDesc:
string
Defined in: src/modules/stk/types.ts:17
Transaction description.
transactionType?
Section titled “transactionType?”
optionaltransactionType:TransactionType
Defined in: src/modules/stk/types.ts:21
Optional: till = CustomerBuyGoodsOnline, paybill = CustomerPayBillOnline.