Transaction Details

Verify Transaction

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

Headers

Name
Type
Description

authorization*

String

Bearer YOUR_SECRET_KEY

content-type*

String

application/json

Request Body

Name
Type
Description

reference*

String

reference - the reference is passed in the Charge payload

orderid *

String

the order id which is returned in the 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" : "45678876512346789",
        "expiryDate" : "01/24"
    }
  }    
  "message": "success",
  "status": "success"
 }

Last updated