Verify Transaction
Confirm the transaction before you give customer the value.
POST
https://mekapaygroup.techapi/charge/validation
Request Body
{
"data" : {
"trxDetails" : {
"status" : "approved",
"trxRef" : "bac3juaiaa",
"amount" : "10.00",
"currency" : "USD",
"transDate" : "2023-11-19 21:10:22"
},
"custDetails" : {
"fullName" : "Kay Nguyen",
"email" : "kaynguyen@gmail.com",
"phone" : "1234567890",
},
"cardDetails" : {
"cardType" : "VISA",
"cardNumber" : "45678876512346789",
"expiryDate" : "01/24"
}
}
"message": "success",
"status": "success"
}
{
"message":"Bad Request",
"status":"failed"
}
{
"message":"Invalid Token",
"status":"failed"
}
{
"message":"Transaction not found",
"status":"failed"
}