4. Process Payment
Use the ProcessPayment request to initiate a payment process for a given ReferenceId.
API Edpoints
https://kwpaypg.casheer.com/COFWAY/ProcessPaymenthttps://kwpaypgsb.casheer.com/COFWAY/ProcessPayment {
"ReferenceId": "xxxxxxxxxxxx", // 15-digit reference id used in the validate request
"MerchantId": "KW23821", // Merchant code
"Result": "success", // result received in the form.result object
"GatewayRecommendation": "PROCEED" // Gateway recommendation received in the form.result.gatewayrecommandation
}
"errorCode": 0,
"errorMessgae": "SUCCESS",
"result": {
"error": null,
"gatewayEntryPoint": "WEB_SERVICES_API",
"merchant": "",
"order": {
"amount": 10,
"certainty": null,
"creationTime": "2025-04-23T10:27:26.416Z",
"currency": "USD",
"id": "543839849919125",
"status": "CAPTURED",
"totalAuthorizedAmount": 10,
"totalCapturedAmount": 10,
"totalRefundedAmount": 0,
"authenticationStatus": "AUTHENTICATION_SUCCESSFUL",
"lastUpdatedTime": "2025-04-23T10:27:41.733+00:00",
"merchantCategoryCode": "5399",
"valueTransfer": null
},
"response": {
"the3DSecure": null,
"acquirerCode": "00",
"acquirerMessage": "Approved",
"gatewayCode": "APPROVED",
"gatewayRecommendation": "NO_ACTION"
},
"result": "SUCCESS",
"sourceOfFunds": {
"provided": {
"card": {
"brand": "MASTERCARD",
"number": "512345xxxxxx0008",
"securityCode": null,
"expiry": {
"month": "1",
"year": "39"
}
}
},
"type": "CARD"
},
"timeOfRecord": "2025-04-23T13:27:41.529+03:00",
"transaction": {
"acquirer": {
"batch": 20250423,
"date": "0423",
"id": "NBK_S2I",
"merchantId": "900459840",
"settlementDate": "2025-04-23T00:00:00",
"timeZone": "+0300",
"tra": "..."
}
}
}
}Last updated