Get Initiated Transaction Info

This API endpoint retrieves transaction information for the specified transaction ID (ACX0000000).

//A code snippet on how to consume the API


var myHeaders = new Headers();
myHeaders.append("Accept", "application/json");
myHeaders.append("Authorization", "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL2RlbW8ubW9uaWNyZWRpdC5jb20vYXBpL3YxL2NvcmUvYXV0aC9sb2dpbiIsImlhdCI6MTY2ODk2NzQ0MywiZXhwIjoxNjY4OTcxMDQzLCJuYmYiOjE2Njg5Njc0NDMsImp0aSI6ImF0UE9GVHE4cU4yN2lBWlciLCJzdWIiOiJVU0FETUlOIiwicHJ2IjoiMjNiZDVjODk0OWY2MDBhZGIzOWU3MDFjNDAwODcyZGI3YTU5NzZmNyJ9.shrbQUV29vXRF30qMeBN3zxlc5JXd03QyMeD6ekzudU");

var requestOptions = {
  method: 'GET',
  headers: myHeaders,
  redirect: 'follow'
};

fetch("https://demo.backend.monicredit.com/api/v1/payment/transactions/init-transaction-info/ACX6363503A73308", requestOptions)
  .then(response => response.text())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));

GET https://demo.backend.monicredit.com/api/v1/payment/transactions/init-transaction-info/ACX0000000

Headers

{
"status": true,
    "data": {
        "amount": 0000,
        "charges": 0000,
        "total_amount": 00000,
        "transid": "ACX000000",
        "status": "APPROVED",
        "merchant": {
            "business_name": "MONI INVENTS",
            "business_email": "test@test.com",
            "business_logo": null,
            "account_id": "AC000",
            "webhook": "www.moni.ac/invoice/test",
            "account": {
                "id": "TEST",
                "aggregator_id": "AGG0000000"
            }
        },
        "customer": {
            "wallet_id": "W0000000",
            "customer_id": "CUS00000000",
            "customer_email": "test@test.com",
            "account_name": "MC| Test Test",
            "account_number": "0000",
            "bank_name": "WEMA",
            "balance": 000
        }
    }
}

Last updated