Post LifeRenewal Schedule

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

This end point will post the loan details

Headers

Name
Type
Description

X-ApiKey*

String

To be provided

Content-Type*

String

application/json

Request Body

Name
Type
Description

policyNo*

String

Loan policy number

customerName

String

Customer Name

email

String

Customer Email

phone

String

Customer Phone number

amount

String

Amount to be paid

isLoan

String

This is defaulted to true

loanId

String

Loan Id

transactionDate

String

transactionDate

{
"result":{
"policyNo": "CAP/IS/2016/022702",
"transactionDate": "2021-12-01T08:05:02.5545653+00:00",
"customerName": "ONUZURUIKE TOBECHI MICHAEL",
"email": "[email protected]",
"phone": "08059733092",
"status": null,
"statusCode": null,
"transactionType": "LOAN",
"flutterwavePayment": null,
"flutterwavePaymentId": 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,
"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,
"clientApplication":{"intermediary": null, "intermediaryId": null, "name": "Wema", "description": "Test Api Key for Wema",…},
"clientApplicationId": "aec0963e-99b8-eb11-a36e-005056a00da2",
"client":{"code": 0.00, "clientNo": null, "user": null, "userId": null, "firstName": "ONUZURUIKE",…},
"clientId": "0bdc6ed1-7c6e-ea11-a94c-501ac51cec26",
"amount": 15000.0,
"branch":{"organisation": null, "organisationId": null, "prefix": "01", "shtDesc": "EChannel",…},
"branchId": "15439e44-98cf-e711-83b7-44850015c0e7",
"polledToTQ": false,
"isLoan": true,
"loanId": "160316",
"failureOrSuccessReason": null,
"transactionRef": "REN-3D79E9",
"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": "PAID UP",
"paymentChannel": null,
"partnerReference": null,
"hash": "2fdb9c80e157b061e6194622b5cd516122f01643fb9ffeec6ee2131b203ddebd16a9beaf7a646f4ced88b6eb65a6f477eb59f67c038b02854d4cf018baeb2f2c",
"clientShortDescription": null,
"agentShortDescription": null,
"id": "605cf366-7d52-ec11-9820-e42aac778601"
},
"targetUrl": null,
"success": true,
"error": null,
"unAuthorizedRequest": false,
"__abp": true
}
Sample Payload
{
  "policyNo": "CAP/IS/2016/022702",
  "transactionDate": "08/08/2021",
  "customerName": "ONUZURUIKE TOBECHI MICHAEL",
  "email": "[email protected]",
  "phone": "0810000000",
  "amount": "15000",
  "isLoan": true,
  "loanId": "160316"
}

Last updated