StkPushQueryRequest

@Serializable
data class StkPushQueryRequest(val businessShortCode: String, val password: String, val timestamp: String, val checkoutRequestId: String)

Stk push query request

Parameters

businessShortCode

This is organizations shortcode (PayBill or BuyGoods - A 5 to 7-digit account number) used to identify an organization and receive the transaction. Sample: Shortcode (5 to 7 digits) e.g. 654321.

password

This is the password used for encrypting the request sent: a base64 encoded string. (The base64 string is a combination of Shortcode+Passkey+Timestamp).

timestamp

This is the Timestamp of the transaction, normally in the format of YEAR+MONTH+DATE+HOUR+MINUTE+SECOND (YYYYMMDDHHMMSS). Each part should be at least two digits, apart from the year which takes four digits.

checkoutRequestId

This is a global unique identifier of the processed checkout transaction request. Sample: ws_CO_DMZ_123212312_2342347678234.

Constructors

Link copied to clipboard
constructor(businessShortCode: String, passKey: String, checkoutRequestId: String)
constructor(businessShortCode: String, password: String, timestamp: String, checkoutRequestId: String)

Properties

Link copied to clipboard
@SerialName(value = "BusinessShortCode")
val businessShortCode: String
Link copied to clipboard
@SerialName(value = "CheckoutRequestID")
val checkoutRequestId: String
Link copied to clipboard
@SerialName(value = "Password")
val password: String
Link copied to clipboard
@SerialName(value = "Timestamp")
val timestamp: String