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

paymentRef*

string

Payment Ref

accountNumber*

string

Bank Account Number/PAN of the card

amountPaid*

string

Refer to Post Motor Schedule premiumAmount

partnerReference*

string

Partner Unique Ref

transactionRef*

boolean

Refer to Post Motor Schedule response

Headers

NameTypeDescription

X-ApiKey*

string

To be provided

Content-Type*

string

application/json

{
    "result": {
        "fullName": "John Doe",
        "agentName": null,
        "policies": [
            "110100091901"
        ],
        "clientAddress": null,
        "clientEmail": "innovation@aiicoplc.com",
        "clientPhoneNumber": "08030480172",
        "wef": "01-Jan-2023",
        "wet": "31-Dec-2023",
        "totalAmount": "₦15,000.00",
        "printPolicyUrl": "https://portal-staging.aiicoplc.com/api/services/app/MotorProductService/GetMotorCertificate?tr=MOT-9D30DB",
        "printReceiptUrl": null,
        "hash": "3d0d672a0688cdfcf9d1e10bf2ca3e158ff0ccbebcd7017900103098101ff0bf806653c3fb99cbd303d1c51fc6ad848037d33868948429f2e851932b95e12ecf",
        "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":15000,
"paymentRef":"000000000171",
"transactionRef": "MOT-9D30DB"
}

Last updated