StkPushQueryResponse

@Serializable
data class StkPushQueryResponse(val merchantRequestId: String, val checkoutRequestId: String, val responseCode: String, val resultDec: String, val responseDescription: String, val resultCode: String)

STK push query acknowledgement response

Constructors

Link copied to clipboard
constructor(merchantRequestId: String, checkoutRequestId: String, responseCode: String, resultDec: String, responseDescription: String, resultCode: String)

Properties

Link copied to clipboard
@SerialName(value = "CheckoutRequestID")
val checkoutRequestId: String

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

Link copied to clipboard
@SerialName(value = "MerchantRequestID")
val merchantRequestId: String

This is a global unique Identifier for any submitted payment request. Sample: 16813-1590513-1

Link copied to clipboard
@SerialName(value = "ResponseCode")
val responseCode: String

This is a Numeric status code that indicates the status of the transaction submission. 0 means successful submission and any other code means an error occurred. Sample: 0

Link copied to clipboard
@SerialName(value = "ResponseDescription")
val responseDescription: String

Response description is an acknowledgment message from the API that gives the status of the request submission usually maps to a specific ResponseCode value. It can be a Success submission message or an error description. Sample: The service request has failed, The service request has been accepted successfully

Link copied to clipboard
@SerialName(value = "ResultCode")
val resultCode: String

This is a numeric status code that indicates the status of the transaction processing. 0 means successful processing and any other code means an error occurred or the transaction failed. Sample: 0, 1032

Link copied to clipboard
@SerialName(value = "ResultDesc")
val resultDec: String

Result description is a message from the API that gives the status of the request processing, usually maps to a specific ResultCode value. It can be a Success processing message or an error description message. Sample: 0: The service request is processed successfully., 1032: Request cancelled by user