Get Agency Banking Status

GET https://portal-staging.aiicoplc.com/api/services/app/AgencyBankingService/GetAgencyBankingTransactionStatus?tr=AGB-0A5ABF

This endpoint returns the status of a transaction.

Query Parameters

NameTypeDescription

tr*

String

Transaction reference to check

Headers

NameTypeDescription

X-ApiKey*

String

To be provided

Content-Type*

String

application/json

{
    "result": {
        "status": "Approved",
        "transactionRef": "AGB-0A5ABF",
        "policyDetails": {
            "fullName": "Will Ojo",
            "agentName": null,
            "policies": [
                "1213000121"
            ],
            "clientAddress": null,
            "clientEmail": "innovation@aiicoplc.com",
            "clientPhoneNumber": "innovation@aiicoplc.com",
            "wef": "03-Nov-2021",
            "wet": "02-Nov-2022",
            "totalAmount": "₦5,000.00",
            "printPolicyUrl": null,
            "printReceiptUrl": null,
            "hash": null,
            "responseMessage": null,
            "responseCode": null,
            "polledToTQ": false,
            "isLoan": false
        }
    },
    "targetUrl": null,
    "success": true,
    "error": null,
    "unAuthorizedRequest": false,
    "__abp": true
}

Last updated