Finalize Partner Payment

POST https://portal-staging.aiicoplc.com/api/services/app/PartnerService/FinalizePartnerPayment

This endpoint finalizes partner payment.

Headers

NameTypeDescription

X-ApiKey*

String

To be provided.

Content-Type*

String

application/json

Request Body

NameTypeDescription

paymentRef*

String

Unique payment Ref

accountNumber*

String

Bank account number/Masked PAN of the card.

amountPaid*

String

Refer to Post Agency Banking Schedule totalPremium

partnerRef*

String

Your unique Partner Ref

transactionRef*

String

Refer to Post Agency Banking Schedule Response

{
    "result": {
        "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": "https://portal-staging.aiicoplc.com/api/services/app/AgencyBankingService/GetAgencyBankingCertificate?tr=AGB-0A5ABF",
        "printReceiptUrl": null,
        "hash": "ef6ac533f30c9d6587c8c0f2b1a31d3bca72f276eee6b2ca6448afeaa541248d314f7a02c3559750bcc1a3d7fc18cc8af0f405a60c5143f3e2a2a96ed691271f",
        "responseMessage": null,
        "responseCode": null,
        "polledToTQ": false,
        "isLoan": false
    },
    "targetUrl": null,
    "success": true,
    "error": null,
    "unAuthorizedRequest": false,
    "__abp": true
}
Sample Payload
{
"partnerRef":"67856285398",
"accountNumber":"539941******0050",
"amountPaid":5000,
"paymentRef":"000000000171",
"transactionRef": "AGB-0A5ABF"
}

Last updated