Post Life Renewal Schedule

Post Life Renewal Schedule

POST https://portal-staging.aiicoplc.com/api/services/app/LifeRenewalService/PostLifeRenewalSchedule

This endpoint posts life renewal.

Headers

Name
Type
Description

X-ApiKey

string

To be provided.

Content-Type

string

application/json.

Query Parameters

Name
Type
Description

policyNo

string

Refer to response of Life Policy Renewal Details

transactionDate

string

Date Payment is being made

customerName

string

Client Name

email

string

Client Email

phone

string

Client Phone Number

amount

string

nextInstallmentPremium of Life Policy Renewal Details response

Sample Payload
{
  "policyNo": "PCSP/HO/2025/047728",
  "transactionDate": "26/05/2025",
  "customerName": "John Doe",
  "email": "[email protected]",
  "phone": "08100000000",
  "amount": "6500"
}
{
    "result": {
        "policyNo": "PCSP/HO/2025/047728",
        "transactionDate": "2025-05-26T14:46:02.012404+00:00",
        "customerName": "Ojo WILLIAMS",
        "email": "[email protected]",
        "phone": "08100000000",
        "status": null,
        "statusCode": null,
        "transactionType": "RENEWAL",
        "flutterwavePayment": null,
        "flutterwavePaymentId": null,
        "paystackPayment": null,
        "paystackPaymentId": null,
        "gtbPayment": null,
        "gtbPaymentId": null,
        "interswitchPayment": null,
        "interswitchPaymentId": null,
        "wemaBankPayment": null,
        "wemaBankPaymentId": null,
        "alatPayment": null,
        "alatPaymentId": null,
        "ubnPayment": null,
        "ubnPaymentId": null,
        "posPayment": null,
        "posPaymentId": null,
        "horizonPayPayment": null,
        "horizonPayPaymentId": null,
        "boffPayment": null,
        "boffPaymentId": null,
        "autogeniusPayment": null,
        "autogeniusPaymentId": null,
        "paddycoverPayment": null,
        "paddycoverPaymentId": null,
        "transboxxPayment": null,
        "transboxxPaymentId": null,
        "payArenaPayment": null,
        "payArenaPaymentId": null,
        "remittaDirectDebitPayment": null,
        "remittaDirectDebitPaymentId": null,
        "intermediary": null,
        "intermediaryId": null,
        "intermediaryPayment": null,
        "intermediaryPaymentId": null,
        "client": {
            "code": 0.00,
            "clientNo": null,
            "user": null,
            "userId": 71326,
            "firstName": "OJO",
            "lastName": "WILLIAMS",
            "middleName": null,
            "titleId": "10439e44-98cf-e711-83b7-44850015c0e7",
            "dateOfBirth": "1990-03-12T00:00:00",
            "gender": null,
            "genderId": "01439e44-98cf-e711-83b7-44850015c0e7",
            "pryEmail": "[email protected]",
            "secEmail": null,
            "accOfficer": null,
            "accOfficerId": null,
            "parent": null,
            "parentId": null,
            "branch": {
                "organisation": null,
                "organisationId": null,
                "prefix": "01",
                "shtDesc": "EChannel",
                "regCode": null,
                "name": "EChannel",
                "phyAddrs": null,
                "emailAddrs": null,
                "postAddrs": null,
                "town": null,
                "townId": null,
                "contact": null,
                "manager": null,
                "managerId": null,
                "tel": null,
                "fax": null,
                "locationCoordinate": null,
                "ownedByFlexsure": true,
                "polledToTQ": false,
                "failureOrSuccessReason": null,
                "id": "15439e44-98cf-e711-83b7-44850015c0e7"
            },
            "branchId": "15439e44-98cf-e711-83b7-44850015c0e7",
            "businessOrOccupation": null,
            "categoryWorth": null,
            "createdBy": null,
            "createdById": 30073,
            "dateCreated": "2019-06-13T11:12:51.2609161",
            "dateOfEmpl": "0001-01-01T00:00:00",
            "employerPhoneNo": null,
            "preferredCommMode": null,
            "domiciledCountry": null,
            "domiciledCountryId": "f633ae6c-98e4-e711-83bb-44850015c0e4",
            "regDate": "2019-06-13T11:12:51.2609182",
            "regNumber": null,
            "dlNo": "",
            "dlExpiryDate": null,
            "yearsOfDrvExperience": null,
            "fax": null,
            "imagePath": null,
            "maritalStatus": null,
            "maritalStatusId": null,
            "passportNo": "A1425262",
            "physicalAddrs": "From chatbot",
            "pin": null,
            "postalAddrs": null,
            "oldAccntNo": null,
            "proposer": null,
            "salMinRange": 0.00,
            "salMaxRange": 0.00,
            "signature": null,
            "smsTel": "08100000000",
            "altTel": null,
            "isActive": false,
            "town": null,
            "townId": null,
            "website": null,
            "workPermit": null,
            "zipCode": null,
            "crdtRating": null,
            "creditLimAllowed": false,
            "creditLimit": 0.00,
            "terminateDate": "0001-01-01T00:00:00",
            "withdrawalReason": null,
            "prospectStatus": null,
            "beneficiaries": [],
            "risks": [],
            "clientCategoryId": null,
            "clientCategory": null,
            "clientType": null,
            "clientTypeId": null,
            "title": null,
            "occupation": null,
            "accountNumber": 0,
            "locationCoordinate": null,
            "ownedByFlexsure": true,
            "polledToTQ": false,
            "failureOrSuccessReason": null,
            "id": "b0e1f0cc-c38d-e911-817b-000d3a1ba8de"
        },
        "clientId": "b0e1f0cc-c38d-e911-817b-000d3a1ba8de",
        "amount": 6500.0,
        "branch": {
            "organisation": null,
            "organisationId": null,
            "prefix": "01",
            "shtDesc": "EChannel",
            "regCode": null,
            "name": "EChannel",
            "phyAddrs": null,
            "emailAddrs": null,
            "postAddrs": null,
            "town": null,
            "townId": null,
            "contact": null,
            "manager": null,
            "managerId": null,
            "tel": null,
            "fax": null,
            "locationCoordinate": null,
            "ownedByFlexsure": true,
            "polledToTQ": false,
            "failureOrSuccessReason": null,
            "id": "15439e44-98cf-e711-83b7-44850015c0e7"
        },
        "branchId": "15439e44-98cf-e711-83b7-44850015c0e7",
        "polledToTQ": false,
        "isLoan": false,
        "loanId": null,
        "failureOrSuccessReason": null,
        "transactionRef": "REN-83C8B732C8",
        "paystackPublicKey": "pk_test_4eec7881c1d66532524c7494d556c9304b1458ce",
        "paystackSubaccount": "",
        "ravePublicKey": "FLWPUBK_TEST-16a2c3fe1e8a662604b2da455282002c-X",
        "interswitchProductId": "6204",
        "interswitchProductItemId": "103",
        "interswitchMacKey": "E187B1191265B18338B5DEBAF9F38FEC37B170FF582D4666DAB1F098304D5EE7F3BE15540461FE92F1D40332FDBBA34579034EE2AC78B1A1B8D9A321974025C4",
        "interswitchPaymentUrl": "https://sandbox.interswitchng.com/webpay/pay",
        "wemaBankMacKey": "7E410E2C6FAEB61C7A128026CB0160E4581F90194B72E609EDB46F8D4FFB1637",
        "wemaBankPaymentUrl": "https://apps.wemabank.com/GateWay",
        "policyStatus": "DRAFT",
        "paymentChannel": null,
        "partnerReference": null,
        "hash": "cb1a3312095e8ecf55abec2e7d989fec0aead06ef08595bff82d57428af083efc7fbcdadd65e9b82ff0b1ef819d9dec6c31807ce400be18c4eb259f9cdc78d6f",
        "clientShortDescription": null,
        "agentShortDescription": null,
        "id": "02df2525-403a-f011-a5f1-000d3a9eb3fc"
    },
    "targetUrl": null,
    "success": true,
    "error": null,
    "unAuthorizedRequest": false,
    "__abp": true
}

The transaction reference returned in the response and other details are to be worked with when integrating payment.

Last updated