Finalize Partner Payment

Finalize Partner Payment

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

This endpoint finalizes partner payment.

Query Parameters

NameTypeDescription

accountNumber

string

Bank account number/Masked PAN of the card.

amountPaid

string

Refer to Post Motor Schedule premiumAmount

transactionRef

string

Refer to Post Motor Schedule response

partnerReference

string

Your Unique Partner Ref

paymentRef

string

Your Unique Payment Ref

Headers

NameTypeDescription

X-ApiKey

string

To be provided.

Content-Type

string

application/json

{
    "result": {
        "fullName": "John Doe",
        "agentName": null,
        "policies": [
            "110102122101"
        ],
        "clientAddress": null,
        "clientEmail": "innovation@aiicoplc.com",
        "clientPhoneNumber": "08100000000",
        "wef": "01-Jan-2023",
        "wet": "12-Dec-2023",
        "totalAmount": "₦100,000.00",
        "printPolicyUrl": "https://portal-staging.aiicoplc.com/api/services/app/MotorProductService/GetMotorCertificate?tr=MOT-FAF197",
        "printReceiptUrl": null,
        "hash": "52acbe6f21f1a51429913a77e2ead3599a8dbcd85e39ea15e13f05b2b7119a92cdaeeddf07db25f456da754923821996364e6dd45a29d0015039b919bf1e6b2e",
        "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": 100000,
    "paymentRef": "000000000171",
    "transactionRef": "MOT-FAF197"
}

Last updated