Verify Transaction

Confirm the transaction before you give customer the value.

POST https://mekapayglobal.com/api/charge/validation

Headers

NameTypeDescription

authorization*

String

Bearer YOUR_SECRET_KEY

content-type*

String

application/json

Request Body

NameTypeDescription

reference*

String

reference, the value of field "id" which is returned from the callback url query string of api Charge

{
  "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" : "4567******346789",
        "expiryDate" : "01/24"
    }
  }    
  "message": "success",
  "status": "success"
 }

Last updated