FinTechBiz Solutions
  • Authentication
    • Introduction
  • Transaction
    • Create Transaction
      • S2S
      • HPP
    • Validate Transaction
  • Testing Integration
    • Information
Powered by GitBook
On this page
  1. Transaction

Validate Transaction

POST https://fintechbizsolutions.com/api/transaction/validate

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer SECRET_KEY

Body

Name
Type
Description

api_key*

string

API key

reference*

string

transaction reference

orderid*

string

transaction order id

Response

{
  "data" : {
    "trxDetails" : {
        "status" : "approved",
        "message": "Paid",
        "trxRef" : "Ref-98938383838383332",
        "orderid" : "FBSL-83838373838383933",
        "amount" : "5.00",
        "currency" : "USD",
        "transDate" : "2023-10-10 09:10:22"
    },
    "custDetails" : {
        "fullName" : "Alan Smith",
        "email" : "alansmith@gmail.com",
        "phone" : "9938383838",
    },
    "cardDetails" : {
        "cardType" : "MASTERCARD",
        "cardNumber" : "5432**********9889",
        "expiryDate" : "01/29"
    }
  }    
  "message": "success",
  "status": "success"
 }
{
    "status" : "failed",
    "message" : "Bad Request"
}
{
    "status" : "failed",
    "message" : "Invalid Secret key"
}
PreviousHPPNextInformation

Last updated 21 days ago