6.1 Consumer Services - Oracle Banking Corporate Lending

This topic describes about the consumer services required for Oracle Banking Corporate Lending Implementation.

The below endpoints must be configured under Consumer Services in Oracle Banking Routing Hub:
  1. CreateContractSim
  2. CreateContract
  3. QueryLoanOSAmount
  4. QueryTrnInfo
  5. ModifyContAmend
  6. ReverseContract
  7. QueryCustinfo
  8. CreatePayment
  9. CreatePaymentSim
  10. ReversePayment
  11. QueryContract
  12. ModifyContAmendSim

Figure 6-1 Consumer Services - Corporate Lending



CreateContractSim

This API enables the user to calculate interest and fetch the interest, and overdue interest parameters during transaction processing.

SERVICE-CONSUMER = “OBSCF_OBCL”

SERVICE-CONSUMER-SERVICE= “CreateContractSim”

Request:

{
  "serviceConsumerServiceName" : "CreateContractSim",
  "body" : {
    "obclProductCode" : "SUPF",
    "holidayTreatment" : "NBD",
    "I_MONTHLY" : null,
    "financeAmt" : 32,
    "interestComponent" : "R",
    "buyerId" : "550550",
    "P_BULLET" : {
      "COMP" : "P",
      "noOfUnits" : 1,
      "amount" : 32,
      "maturityDate" : "2022-12-09",
      "interestPaymentSchedule" : "B"
    },
    "I_BULLET" : {
      "COMP" : "I",
      "noOfUnits" : 1,
      "maturityDate" : "2022-12-09",
      "interestPaymentSchedule" : "B"
    },
    "branchCode" : "004",
    "componentDetails" : {
      "InterestTransactionList" : [ {
        "id" : null,
        "financeRefNo" : null,
        "seqNo" : null,
        "interestType" : "R",
        "interestRateType" : "X",
        "interestRate" : 10,
        "spread" : 0,
        "interestRateTotal" : null,
        "interestCollFreq" : null,
        "interestAmtCcy" : null,
        "interestAmount" : null,
        "componetName" : null,
        "interestComp" : "MINTEREST",
        "fixedRateType" : "U",
        "rateCode" : null,
        "resetTenor" : null,
        "rateFixingDays" : 0,
        "rateCodeUsage" : "A",
        "rateRevisionFreq" : null,
        "rateBasis" : "ACTUAL_365",
        "rateCalcType" : null,
        "tierBasedSpread" : "N",
        "tierType" : null,
        "frequency" : "B",
        "noOfUnits" : 1,
        "scheduleType" : "NORMAL",
        "referenceDate" : "VALUE_DATE",
        "monthEnd" : null,
        "spreadApplication" : null,
        "interestCollectionPeriod" : null,
        "holidayTreatment" : "NBD",
        "payRecieveAmount" : null,
        "interestAmtTier" : null,
        "interestTenorTier" : null,
        "interestMixedTier" : null,
        "altRiskFreeRate" : null,
        "rfrMethod" : null,
        "lookBackDays" : null,
        "lockOutDays" : null,
        "isRateCompounding" : null,
        "rfrRoundingUnit" : null,
        "spreadOrMarginComputationMethod" : null,
        "spreadAdjComputationMethod" : null,
        "rateCompundingMethod" : null,
        "pricingDescription" : "PrePostInterestPricing",
        "pricingId" : null,
        "rateType" : "X",
        "rate" : 10,
        "filterCriteria" : "DEFAULT",
        "filterCriteriaName" : null,
        "pricingTemplateCode" : "PC00002350",
        "pricingTemplateDesc" : "PrePostInterestPricing",
        "isAmended" : null,
        "updatedSpreadToBeApplied" : null,
        "amendCount" : null
      }, {
        "id" : null,
        "financeRefNo" : null,
        "seqNo" : null,
        "interestType" : "R",
        "interestRateType" : "X",
        "interestRate" : 10,
        "spread" : 0,
        "interestRateTotal" : null,
        "interestCollFreq" : null,
        "interestAmtCcy" : null,
        "interestAmount" : null,
        "componetName" : null,
        "interestComp" : "PENINT",
        "fixedRateType" : "U",
        "rateCode" : null,
        "resetTenor" : null,
        "rateFixingDays" : 0,
        "rateCodeUsage" : "A",
        "rateRevisionFreq" : null,
        "rateBasis" : "ACTUAL_365",
        "rateCalcType" : null,
        "tierBasedSpread" : "N",
        "tierType" : null,
        "frequency" : "B",
        "noOfUnits" : 1,
        "scheduleType" : "NORMAL",
        "referenceDate" : "VALUE_DATE",
        "monthEnd" : null,
        "spreadApplication" : null,
        "interestCollectionPeriod" : null,
        "holidayTreatment" : "NBD",
        "payRecieveAmount" : null,
        "interestAmtTier" : null,
        "interestTenorTier" : null,
        "interestMixedTier" : null,
        "altRiskFreeRate" : null,
        "rfrMethod" : null,
        "lookBackDays" : null,
        "lockOutDays" : null,
        "isRateCompounding" : null,
        "rfrRoundingUnit" : null,
        "spreadOrMarginComputationMethod" : null,
        "spreadAdjComputationMethod" : null,
        "rateCompundingMethod" : null,
        "pricingDescription" : "PrePostInterestPricing",
        "pricingId" : null,
        "rateType" : "X",
        "rate" : 10,
        "filterCriteria" : "DEFAULT",
        "filterCriteriaName" : null,
        "pricingTemplateCode" : "PC00002350",
        "pricingTemplateDesc" : "PrePostInterestPricing",
        "isAmended" : null,
        "updatedSpreadToBeApplied" : null,
        "amendCount" : null
      }, {
        "id" : null,
        "financeRefNo" : null,
        "seqNo" : null,
        "interestType" : "R",
        "interestRateType" : "X",
        "interestRate" : 10,
        "spread" : 0,
        "interestRateTotal" : null,
        "interestCollFreq" : null,
        "interestAmtCcy" : null,
        "interestAmount" : null,
        "componetName" : null,
        "interestComp" : "PRINPENAL",
        "fixedRateType" : "U",
        "rateCode" : null,
        "resetTenor" : null,
        "rateFixingDays" : 0,
        "rateCodeUsage" : "A",
        "rateRevisionFreq" : null,
        "rateBasis" : "ACTUAL_365",
        "rateCalcType" : null,
        "tierBasedSpread" : "N",
        "tierType" : null,
        "frequency" : "B",
        "noOfUnits" : 1,
        "scheduleType" : "NORMAL",
        "referenceDate" : "VALUE_DATE",
        "monthEnd" : null,
        "spreadApplication" : null,
        "interestCollectionPeriod" : null,
        "holidayTreatment" : "NBD",
        "payRecieveAmount" : null,
        "interestAmtTier" : null,
        "interestTenorTier" : null,
        "interestMixedTier" : null,
        "altRiskFreeRate" : null,
        "rfrMethod" : null,
        "lookBackDays" : null,
        "lockOutDays" : null,
        "isRateCompounding" : null,
        "rfrRoundingUnit" : null,
        "spreadOrMarginComputationMethod" : null,
        "spreadAdjComputationMethod" : null,
        "rateCompundingMethod" : null,
        "pricingDescription" : "PrePostInterestPricing",
        "pricingId" : null,
        "rateType" : "X",
        "rate" : 10,
        "filterCriteria" : "DEFAULT",
        "filterCriteriaName" : null,
        "pricingTemplateCode" : "PC00002350",
        "pricingTemplateDesc" : "PrePostInterestPricing",
        "isAmended" : null,
        "updatedSpreadToBeApplied" : null,
        "amendCount" : null
      } ]
    },
    "financeRefNo" : "004091122PP16912",
    "productCode" : "PPIN",
    "scheduleType" : "NORMAL",
    "maturityDate" : "2022-12-09",
    "interestPaymentSchedule" : "B",
    "financeAmtCcy" : "USD",
    "referenceDate" : "VALUE_DATE",
    "startDate" : "2022-11-09",
    "holidayTreatmentForSchedules" : "NBD"
  },
  "serviceConsumerName" : "OBSCF_OBCL"
}

Response:

{"data": {
            "interestModelList": [
                {
                    "spread": "0",
                    "interestComp": "Y",
                    "interestAmtCcy": "USD",
                    "interestRate": "6.45",
                    "interestRateType": "X",
                    "componetName": "MINTEREST"
                },
                {
                    "spread": "0",
                    "interestComp": "N",
                    "interestAmtCcy": "USD",
                    "interestRate": "6.45",
                    "interestRateType": "X",
                    "componetName": "PENINT"
                },
                {
                    "spread": "0",
                    "interestComp": "N",
                    "interestAmtCcy": "USD",
                    "interestRate": "6.45",
                    "interestRateType": "X",
                    "componetName": "PRINPENAL"
                }
            ],
            "loandDetail": {
                "payMethod": "BEARING"
            },
            "cashFlowDetails": [
                {
                    "dueDate": "2022-10-31",
                    "totalAmountDue": "38.17",
                    "totalAmountPaid": "0",
                    "totalAmountAdjusted": "0",
                    "currency": "USD",
                    "amountDue": [
                        {
                            "component": "MINTEREST",
                            "amountDue": "38.17",
                            "amountPaid": "0",
                            "adjustedAmount": "0",
                            "currency": "USD",
                            "contractIccfView": [
                                {
                                    "rateSofr": "6.45",
                                    "contractRefNo": "004SUPF22277BE34",
                                    "dailyAccSofr": "38.17",
                                    "component": "MINTEREST",
                                    "pAcuInterestSofr": "8000",
                                    "currency": "USD",
                                    "spreadAdjustmentSofr": "0",
                                    "scheduleDate": "2022-10-31",
                                    "marginSofr": "0",
                                    "calculationDateSofr": "2022-10-04",
                                    "interestAmountSofr": "0",
                                    "totalSimpleIntSofr": "38.17",
                                    "rateType": "Fixed",
                                    "finalRate": "6.45",
                                    "noOfDaysSofr": "27",
                                    "rateUi": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "dueDate": "2022-11-04",
                    "totalAmountDue": "8005.65",
                    "totalAmountPaid": "0",
                    "totalAmountAdjusted": "0",
                    "currency": "USD",
                    "amountDue": [
                        {
                            "component": "MINTEREST",
                            "amountDue": "5.65",
                            "amountPaid": "0",
                            "adjustedAmount": "0",
                            "currency": "USD",
                            "contractIccfView": [
                                {
                                    "rateSofr": "6.45",
                                    "contractRefNo": "004SUPF22277BE34",
                                    "dailyAccSofr": "5.65",
                                    "component": "MINTEREST",
                                    "pAcuInterestSofr": "8000",
                                    "currency": "USD",
                                    "spreadAdjustmentSofr": "0",
                                    "scheduleDate": "2022-11-04",
                                    "marginSofr": "0",
                                    "calculationDateSofr": "2022-10-31",
                                    "interestAmountSofr": "0",
                                    "totalSimpleIntSofr": "5.65",
                                    "rateType": "Fixed",
                                    "finalRate": "6.45",
                                    "noOfDaysSofr": "4",
                                    "rateUi": ""
                                }
                            ]
                        },
                        {
                            "component": "PRINCIPAL",
                            "amountDue": "8000",
                            "amountPaid": "0",
                            "adjustedAmount": "0",
                            "currency": "USD",
                            "contractIccfView": []
                        }
                    ]
                }
            ],
            "errorCode": [],
            "scheduleDetails": [
                {
                    "unit": "1",
                    "frequency": "D",
                    "noOfSchedules": "1",
                    "startDate": "2022-10-04",
                    "scheduleType": "L",
                    "componentName": "PRINCIPAL",
                    "componentCurrency": "",
                    "amount": "8000",
                    "resetTenor": ""
                },
                {
                    "unit": "1",
                    "frequency": "M",
                    "noOfSchedules": "1",
                    "startDate": "2022-10-31",
                    "scheduleType": "P",
                    "componentName": "MINTEREST",
                    "componentCurrency": "",
                    "amount": "",
                    "resetTenor": ""
                },
                {
                    "unit": "1",
                    "frequency": "B",
                    "noOfSchedules": "1",
                    "startDate": "2022-11-04",
                    "scheduleType": "P",
                    "componentName": "MINTEREST",
                    "componentCurrency": "",
                    "amount": "",
                    "resetTenor": ""
                },
                {
                    "unit": "1",
                    "frequency": "B",
                    "noOfSchedules": "1",
                    "startDate": "2022-11-04",
                    "scheduleType": "P",
                    "componentName": "PRINCIPAL",
                    "componentCurrency": "",
                    "amount": "8000",
                    "resetTenor": ""
                }
            ],
            "status": "SUCCESS"
        }

CreateContract

This API enables the user to create a loan in Loan Processor.

SERVICE-CONSUMER = “OBSCF_OBCL”

SERVICE-CONSUMER-SERVICE= “CreateContract”

Request
{
  "serviceConsumerServiceName" : "CreateContract",
  "body" : {
    "obclProductCode" : "SUPF",
    "holidayTreatment" : "NBD",
    "I_MONTHLY" : null,
    "graceDays" : 0,
    "financeAmt" : 32,
    "interestComponent" : "R",
    "buyerId" : "550550",
    "P_BULLET" : {
      "COMP" : "P",
      "noOfUnits" : 1,
      "amount" : 32,
      "maturityDate" : "2022-12-09",
      "interestPaymentSchedule" : "B"
    },
    "I_BULLET" : {
      "COMP" : "I",
      "noOfUnits" : 1,
      "maturityDate" : "2022-12-09",
      "interestPaymentSchedule" : "B"
    },
    "branchCode" : "004",
    "componentDetails" : {
      "InterestTransactionList" : [ {
        "id" : "1252874640277385217",
        "financeRefNo" : "004091122PP16912",
        "seqNo" : 1,
        "interestType" : "R",
        "interestRateType" : "X",
        "interestRate" : 10,
        "spread" : 0,
        "interestRateTotal" : 10,
        "interestCollFreq" : "B",
        "interestAmtCcy" : "USD",
        "interestAmount" : 0.26,
        "componetName" : null,
        "interestComp" : "MINTEREST",
        "fixedRateType" : "U",
        "rateCode" : null,
        "resetTenor" : null,
        "rateFixingDays" : 0,
        "rateCodeUsage" : "A",
        "rateRevisionFreq" : null,
        "rateBasis" : "ACTUAL_365",
        "rateCalcType" : null,
        "tierBasedSpread" : "N",
        "tierType" : null,
        "frequency" : "B",
        "noOfUnits" : 1,
        "scheduleType" : "NORMAL",
        "referenceDate" : "VALUE_DATE",
        "monthEnd" : null,
        "spreadApplication" : null,
        "interestCollectionPeriod" : null,
        "holidayTreatment" : "NBD",
        "payRecieveAmount" : null,
        "interestAmtTier" : [ ],
        "interestTenorTier" : [ ],
        "interestMixedTier" : [ ],
        "altRiskFreeRate" : null,
        "rfrMethod" : null,
        "lookBackDays" : null,
        "lockOutDays" : null,
        "isRateCompounding" : null,
        "rfrRoundingUnit" : null,
        "spreadOrMarginComputationMethod" : null,
        "spreadAdjComputationMethod" : null,
        "rateCompundingMethod" : null,
        "pricingDescription" : null,
        "pricingId" : null,
        "rateType" : null,
        "rate" : null,
        "filterCriteria" : "DEFAULT",
        "filterCriteriaName" : null,
        "pricingTemplateCode" : "PC00002350",
        "pricingTemplateDesc" : "PrePostInterestPricing",
        "isAmended" : null,
        "updatedSpreadToBeApplied" : null,
        "amendCount" : 0
      }, {
        "id" : "1252874640277385218",
        "financeRefNo" : "004091122PP16912",
        "seqNo" : 1,
        "interestType" : "R",
        "interestRateType" : "X",
        "interestRate" : 10,
        "spread" : 0,
        "interestRateTotal" : 10,
        "interestCollFreq" : "B",
        "interestAmtCcy" : "USD",
        "interestAmount" : 0,
        "componetName" : null,
        "interestComp" : "PRINPENAL",
        "fixedRateType" : "U",
        "rateCode" : null,
        "resetTenor" : null,
        "rateFixingDays" : 0,
        "rateCodeUsage" : "A",
        "rateRevisionFreq" : null,
        "rateBasis" : "ACTUAL_365",
        "rateCalcType" : null,
        "tierBasedSpread" : "N",
        "tierType" : null,
        "frequency" : "B",
        "noOfUnits" : 1,
        "scheduleType" : "NORMAL",
        "referenceDate" : "VALUE_DATE",
        "monthEnd" : null,
        "spreadApplication" : null,
        "interestCollectionPeriod" : null,
        "holidayTreatment" : null,
        "payRecieveAmount" : null,
        "interestAmtTier" : [ ],
        "interestTenorTier" : [ ],
        "interestMixedTier" : [ ],
        "altRiskFreeRate" : null,
        "rfrMethod" : null,
        "lookBackDays" : null,
        "lockOutDays" : null,
        "isRateCompounding" : null,
        "rfrRoundingUnit" : null,
        "spreadOrMarginComputationMethod" : null,
        "spreadAdjComputationMethod" : null,
        "rateCompundingMethod" : null,
        "pricingDescription" : null,
        "pricingId" : null,
        "rateType" : null,
        "rate" : null,
        "filterCriteria" : "DEFAULT",
        "filterCriteriaName" : null,
        "pricingTemplateCode" : "PC00002350",
        "pricingTemplateDesc" : "PrePostInterestPricing",
        "isAmended" : null,
        "updatedSpreadToBeApplied" : null,
        "amendCount" : 0
      }, {
        "id" : "1252874640277385216",
        "financeRefNo" : "004091122PP16912",
        "seqNo" : 1,
        "interestType" : "R",
        "interestRateType" : "X",
        "interestRate" : 10,
        "spread" : 0,
        "interestRateTotal" : 10,
        "interestCollFreq" : "B",
        "interestAmtCcy" : "USD",
        "interestAmount" : 0,
        "componetName" : null,
        "interestComp" : "PENINT",
        "fixedRateType" : "U",
        "rateCode" : null,
        "resetTenor" : null,
        "rateFixingDays" : 0,
        "rateCodeUsage" : "A",
        "rateRevisionFreq" : null,
        "rateBasis" : "ACTUAL_365",
        "rateCalcType" : null,
        "tierBasedSpread" : "N",
        "tierType" : null,
        "frequency" : "B",
        "noOfUnits" : 1,
        "scheduleType" : "NORMAL",
        "referenceDate" : "VALUE_DATE",
        "monthEnd" : null,
        "spreadApplication" : null,
        "interestCollectionPeriod" : null,
        "holidayTreatment" : null,
        "payRecieveAmount" : null,
        "interestAmtTier" : [ ],
        "interestTenorTier" : [ ],
        "interestMixedTier" : [ ],
        "altRiskFreeRate" : null,
        "rfrMethod" : null,
        "lookBackDays" : null,
        "lockOutDays" : null,
        "isRateCompounding" : null,
        "rfrRoundingUnit" : null,
        "spreadOrMarginComputationMethod" : null,
        "spreadAdjComputationMethod" : null,
        "rateCompundingMethod" : null,
        "pricingDescription" : null,
        "pricingId" : null,
        "rateType" : null,
        "rate" : null,
        "filterCriteria" : "DEFAULT",
        "filterCriteriaName" : null,
        "pricingTemplateCode" : "PC00002350",
        "pricingTemplateDesc" : "PrePostInterestPricing",
        "isAmended" : null,
        "updatedSpreadToBeApplied" : null,
        "amendCount" : 0
      } ]
    },
    "financeRefNo" : "004091122PP16912",
    "productCode" : "PPIN",
    "scheduleType" : "NORMAL",
    "maturityDate" : "2022-12-09",
    "financeAmtCcy" : "USD",
    "interestPaymentSchedule" : "B",
    "referenceDate" : "VALUE_DATE",
    "startDate" : "2022-11-09",
    "holidayTreatmentForSchedules" : "NBD"
  },
  "serviceConsumerName" : "OBSCF_OBCL"
}
Response:
{"data": {
            "amountDueDetail": [
                {
                    "totalAmountDues": "38.17",
                    "amountDue": [
                        {
                            "component": "MINTEREST",
                            "amountDue": "38.17",
                            "amountPaid": "0",
                            "adjustedAmount": "0",
                            "currency": "USD",
                            "contractIccfView": [
                                {
                                    "rateSofr": "6.45",
                                    "contractRefNo": "004SUPF22277BE35",
                                    "dailyAccSofr": "38.17",
                                    "component": "MINTEREST",
                                    "pAcuInterestSofr": "8000",
                                    "currency": "USD",
                                    "spreadAdjustmentSofr": "0",
                                    "scheduleDate": "2022-10-31",
                                    "marginSofr": "0",
                                    "calculationDateSofr": "2022-10-04",
                                    "interestAmountSofr": "0",
                                    "totalSimpleIntSofr": "38.17",
                                    "rateType": "Fixed",
                                    "finalRate": "6.45",
                                    "noOfDaysSofr": "27",
                                    "rateUi": "6.45"
                                }
                            ]
                        }
                    ]
                },
                {
                    "totalAmountDues": "8005.65",
                    "amountDue": [
                        {
                            "component": "MINTEREST",
                            "amountDue": "5.65",
                            "amountPaid": "0",
                            "adjustedAmount": "0",
                            "currency": "USD",
                            "contractIccfView": [
                                {
                                    "rateSofr": "6.45",
                                    "contractRefNo": "004SUPF22277BE35",
                                    "dailyAccSofr": "5.65",
                                    "component": "MINTEREST",
                                    "pAcuInterestSofr": "8000",
                                    "currency": "USD",
                                    "spreadAdjustmentSofr": "0",
                                    "scheduleDate": "2022-11-04",
                                    "marginSofr": "0",
                                    "calculationDateSofr": "2022-10-31",
                                    "interestAmountSofr": "0",
                                    "totalSimpleIntSofr": "5.65",
                                    "rateType": "Fixed",
                                    "finalRate": "6.45",
                                    "noOfDaysSofr": "4",
                                    "rateUi": "6.45"
                                }
                            ]
                        },
                        {
                            "component": "PRINCIPAL",
                            "amountDue": "8000",
                            "amountPaid": "0",
                            "adjustedAmount": "0",
                            "currency": "USD",
                            "contractIccfView": []
                        }
                    ]
                }
            ],
            "warningCode": [
                {
                    "warningCode": "IN-00255",
                    "warningDesc": "Spread/Margin type is not Slab/Tier, cannot maintain Spread/Margin"
                },
                {
                    "warningCode": "OL-AU010",
                    "warningDesc": "Ok to Authorize"
                },
                {
                    "warningCode": "ST-SAVE-052",
                    "warningDesc": "Successfully Saved and Authorized"
                }
            ],
            "loanDetails": {
                "branch": "004",
                "loanReferenceNumber": "004SUPF22277BE35"
            },
            "errorCode": [
			"errorCode": "",
                    "errorDesc": ""],
            "cashFlowContract": [
                {
                    "dueDate": "2022-10-31",
                    "totalAmountDue": "38.17",
                    "totalAmountPaid": "0",
                    "totalAmountAdjusted": "0",
                    "currency": "USD"
                },
                {
                    "dueDate": "2022-11-04",
                    "totalAmountDue": "8005.65",
                    "totalAmountPaid": "0",
                    "totalAmountAdjusted": "0",
                    "currency": "USD"
                }
            ],
            "status": "SUCCESS"
        }

QueryLoanOSAmount

This API enables the user to fetch the outstanding loan amount.

SERVICE-CONSUMER = “OBSCF_OBCL”

SERVICE-CONSUMER-SERVICE= “QueryLoanOSAmount”

Request:
{ "serviceConsumerServiceName": "QueryLoanOSAmount",
    "body": {
        "branchCode": "004",
        "processingDate": "2022-10-04",
        "financeAmtCcy": "USD",
        "clRefNo": "004SUPF22277AR63"
    },
    "serviceConsumerName": "OBSCF_OBCL"
}
Response:
{
    "headers": {},
        "data": {
            "outStandingSummary": {
                "totalOSAmount": "7350",
                "clRefNo": "004SUPF22277AR63"
            },
            "delinquencyStatus": "NORM",
            "warningCode": [
                {
                    "warningCode": "ST-SAVE-023",
                    "warningDesc": "Record Successfully Retrieved"
                }
            ],
            "errorCode": [
			 {
                    "errorCode": "",
                    "errorDesc": ""
                }],
            "paymentBreakup": [
                {
                    "amtDue": "7350",
                    "component": "PRINCIPAL"
                }
            ],
            "status": "SUCCESS"
        }

QueryTrnInfo

This API enables the user to query the interest accrued for front ended loan.

SERVICE-CONSUMER = “OBSCF_OBCL”

SERVICE-CONSUMER-SERVICE= “QueryTrnInfo”

Request:
{"serviceConsumerServiceName": "QueryTrnInfo",
    "body": {
        "branchCode": "004",
        "refNo": "004DES5222770575",
        "isLoggingRequired": false,
        "trnFromDt": "2022-10-04",
        "trnToDt": "2022-10-04"
    },
    "serviceConsumerName": "OBSCF_OBCL"
}
Response:
{
        "data": {
            "warningCode": [
                {
                    "warningCode": "ST-SAVE-073",
                    "warningDesc": "Successfully Retrieved"
                }
            ],
            "errorCode": [
			"errorCode": "",
                    "errorDesc": ""],
            "trnInfoDTO": {
                "delinquencyStatus": "NORM",
                "minTxnAmt": "14.03",
                "maxTxnAmt": "800",
                "refNo": "004DES5222770575",
                "delinqStatusDesc": "Normal Status",
                "isWorstStatus": "N",
                "trnFromDt": "2022-10-04",
                "trnToDt": "2022-10-04",
                "eventDetail": [
                    {
                        "eventNo": "5",
                        "eventCd": "LIQD",
                        "eventDesc": "Liquidation For Cls/Cheques",
                        "makerId": "ADMINUSER2",
                        "eventDt": "2022-10-04",
                        "reversedEsn": "0",
                        "trnAmountDetail": [
                            {
                                "acBrn": "004",
                                "accNo": "100000101",
                                "acCcy": "USD",
                                "bnkLcy": "USD",
                                "drCrInd": "C",
                                "trnCd": "000",
                                "amtTag": "PRINCIPAL_LIQD",
                                "fcyAmt": "0",
                                "trnDt": "2022-10-04",
                                "valDt": "2022-10-04",
                                "acSrNo": "1731853",
                                "lcyAmt": "100",
                                "eventCd": "LIQD",
                                "relatedCustomer": "202299",
                                "relatedReference": "LIQD",
                                "accType": "G"
                            },
                            {
                                "acBrn": "004",
                                "accNo": "100000006",
                                "acCcy": "USD",
                                "bnkLcy": "USD",
                                "drCrInd": "D",
                                "trnCd": "000",
                                "amtTag": "PRINCIPAL_LIQD",
                                "fcyAmt": "0",
                                "trnDt": "2022-10-04",
                                "valDt": "2022-10-04",
                                "acSrNo": "1731854",
                                "lcyAmt": "100",
                                "eventCd": "LIQD",
                                "relatedCustomer": "202299",
                                "relatedReference": "LIQD",
                                "accType": "G"
                            }
                        ]
                    },
                    {
                        "eventNo": "4",
                        "eventCd": "LIQD",
                        "eventDesc": "Liquidation For Cls/Cheques",
                        "makerId": "ADMINUSER2",
                        "eventDt": "2022-10-04",
                        "reversedEsn": "0",
                        "trnAmountDetail": [
                            {
                                "acBrn": "004",
                                "accNo": "100000101",
                                "acCcy": "USD",
                                "bnkLcy": "USD",
                                "drCrInd": "C",
                                "trnCd": "000",
                                "amtTag": "PRINCIPAL_LIQD",
                                "fcyAmt": "0",
                                "trnDt": "2022-10-04",
                                "valDt": "2022-10-04",
                                "acSrNo": "1731847",
                                "lcyAmt": "100",
                                "eventCd": "LIQD",
                                "relatedCustomer": "202299",
                                "relatedReference": "LIQD",
                                "accType": "G"
                            },
                            {
                                "acBrn": "004",
                                "accNo": "100000006",
                                "acCcy": "USD",
                                "bnkLcy": "USD",
                                "drCrInd": "D",
                                "trnCd": "000",
                                "amtTag": "PRINCIPAL_LIQD",
                                "fcyAmt": "0",
                                "trnDt": "2022-10-04",
                                "valDt": "2022-10-04",
                                "acSrNo": "1731848",
                                "lcyAmt": "100",
                                "eventCd": "LIQD",
                                "relatedCustomer": "202299",
                                "relatedReference": "LIQD",
                                "accType": "G"
                            }
                        ]
                    },
                    {
                        "eventNo": "3",
                        "eventCd": "DSBR",
                        "eventDesc": "Disbursement",
                        "makerId": "ADMINUSER2",
                        "eventDt": "2022-10-04",
                        "reversedEsn": "0",
                        "trnAmountDetail": [
                            {
                                "acBrn": "004",
                                "accNo": "100000005",
                                "acCcy": "USD",
                                "bnkLcy": "USD",
                                "drCrInd": "C",
                                "trnCd": "001",
                                "amtTag": "PRINCIPAL",
                                "fcyAmt": "0",
                                "trnDt": "2022-10-04",
                                "valDt": "2022-10-04",
                                "acSrNo": "1731839",
                                "lcyAmt": "800",
                                "eventCd": "DSBR",
                                "relatedCustomer": "202299",
                                "relatedReference": "DSBR",
                                "accType": "G"
                            },
                            {
                                "acBrn": "004",
                                "accNo": "100000201",
                                "acCcy": "USD",
                                "bnkLcy": "USD",
                                "drCrInd": "C",
                                "trnCd": "001",
                                "amtTag": "MINTEREST_LIQD",
                                "fcyAmt": "0",
                                "trnDt": "2022-10-04",
                                "valDt": "2022-10-04",
                                "acSrNo": "1731840",
                                "lcyAmt": "14.03",
                                "eventCd": "DSBR",
                                "relatedCustomer": "202299",
                                "relatedReference": "DSBR",
                                "accType": "G"
                            },
                            {
                                "acBrn": "004",
                                "accNo": "100000101",
                                "acCcy": "USD",
                                "bnkLcy": "USD",
                                "drCrInd": "D",
                                "trnCd": "001",
                                "amtTag": "PRINCIPAL",
                                "fcyAmt": "0",
                                "trnDt": "2022-10-04",
                                "valDt": "2022-10-04",
                                "acSrNo": "1731841",
                                "lcyAmt": "800",
                                "eventCd": "DSBR",
                                "relatedCustomer": "202299",
                                "relatedReference": "DSBR",
                                "accType": "G"
                            },
                            {
                                "acBrn": "004",
                                "accNo": "100000006",
                                "acCcy": "USD",
                                "bnkLcy": "USD",
                                "drCrInd": "D",
                                "trnCd": "001",
                                "amtTag": "MINTEREST_LIQD",
                                "fcyAmt": "0",
                                "trnDt": "2022-10-04",
                                "valDt": "2022-10-04",
                                "acSrNo": "1731842",
                                "lcyAmt": "14.03",
                                "eventCd": "DSBR",
                                "relatedCustomer": "202299",
                                "relatedReference": "DSBR",
                                "accType": "G"
                            }
                        ]
                    },
                    {
                        "eventNo": "2",
                        "eventCd": "INIT",
                        "eventDesc": "Contract Initiation",
                        "makerId": "ADMINUSER2",
                        "eventDt": "2022-10-04",
                        "reversedEsn": "0",
                        "trnAmountDetail": []
                    },
                    {
                        "eventNo": "1",
                        "eventCd": "BOOK",
                        "eventDesc": "Booking Of Contract",
                        "makerId": "ADMINUSER2",
                        "eventDt": "2022-10-04",
                        "reversedEsn": "0",
                        "trnAmountDetail": []
                    }
                ]
            },
            "status": "SUCCESS"
        }

ModifyContAmend

This API enables the user to reopen structure address.

SERVICE-CONSUMER = “OBSCF_OBCL”

SERVICE-CONSUMER-SERVICE= “ModifyContAmend”

Request:
{ "serviceConsumerServiceName": "ModifyContAmend",
    "body": {
        "branchCode": "004",
        "componentDetails": [
            {
                "rateCalculationType": "",
                "tierType": "T",
                "resetTenor": "",
                "tierBasedSpread": "Y",
                "minRat": 1,
                "fixedRateType": "U",
                "rateCode": null,
                "rateCodeUsage": "A",
                "pricingId": "",
                "frequency": "B",
                "COMP": "MINTEREST",
                "retainmainCompProp": "",
                "rateType": "X",
                "noOfUnits": 1,
                "rate": 7,
                "pricingDescription": "",
                "rateFixingReqd": "N",
                "mainComp": "Y",
                "interestRate": 7,
                "rateFixingDays": 0,
                "spread": 4,
                "maxRat": 20,
                "floatingRateCode": "",
                "interestAmtCcy": "USD",
                "rateRevisionFrequency": null,
                "rateBasis": 3,
                "fixedRateCode": "",
                "penaltyTenor": ""
            },
            {
                "rateCalculationType": "",
                "tierType": "T",
                "resetTenor": "",
                "tierBasedSpread": "Y",
                "minRat": 1,
                "fixedRateType": "U",
                "rateCode": null,
                "rateCodeUsage": "A",
                "pricingId": "",
                "frequency": "B",
                "COMP": "PRINPENAL",
                "retainmainCompProp": "",
                "rateType": "X",
                "noOfUnits": 1,
                "rate": 7,
                "pricingDescription": "",
                "rateFixingReqd": "N",
                "mainComp": "N",
                "interestRate": 7,
                "rateFixingDays": 0,
                "spread": 7,
                "maxRat": 20,
                "floatingRateCode": "",
                "interestAmtCcy": "USD",
                "rateRevisionFrequency": null,
                "rateBasis": 3,
                "fixedRateCode": "",
                "penaltyTenor": ""
            }
        ],
        "PRINPENAL": {
            "rateCalculationType": "",
            "tierType": "T",
            "resetTenor": "",
            "tierBasedSpread": "Y",
            "minRat": 1,
            "fixedRateType": "U",
            "rateCode": null,
            "rateCodeUsage": "A",
            "pricingId": "",
            "frequency": "B",
            "COMP": "PRINPENAL",
            "retainmainCompProp": "",
            "rateType": "X",
            "noOfUnits": 1,
            "rate": 7,
            "pricingDescription": "",
            "rateFixingReqd": "N",
            "mainComp": "N",
            "interestRate": 7,
            "rateFixingDays": 0,
            "spread": 7,
            "maxRat": 20,
            "floatingRateCode": "",
            "interestAmtCcy": "USD",
            "rateRevisionFrequency": null,
            "rateBasis": 3,
            "fixedRateCode": "",
            "penaltyTenor": ""
        },
        "processingDate": "2022-10-04",
        "financeAmtCcy": "USD",
        "clRefNo": "004SUPF221878299",
        "MINTRateType": "X",
        "MINTEREST": {
            "rateCalculationType": "",
            "tierType": "T",
            "resetTenor": "",
            "tierBasedSpread": "Y",
            "minRat": 1,
            "fixedRateType": "U",
            "rateCode": null,
            "rateCodeUsage": "A",
            "pricingId": "",
            "frequency": "B",
            "COMP": "MINTEREST",
            "retainmainCompProp": "",
            "rateType": "X",
            "noOfUnits": 1,
            "rate": 7,
            "pricingDescription": "",
            "rateFixingReqd": "N",
            "mainComp": "Y",
            "interestRate": 7,
            "rateFixingDays": 0,
            "spread": 4,
            "maxRat": 20,
            "floatingRateCode": "",
            "interestAmtCcy": "USD",
            "rateRevisionFrequency": null,
            "rateBasis": 3,
            "fixedRateCode": "",
            "penaltyTenor": ""
        }
    },
    "serviceConsumerName": "OBSCF_OBCL"
}
Response:
{ "data": {
            "loanDetails": {
                "loanReferenceNumber": "004SUPF221878299",
                "branch": "004"
            },
            "cashFlowDetails": [
                {
                    "dueDate": "2022-07-31",
                    "totalAmountDue": "1630.9",
                    "totalAmountPaid": "0",
                    "totalAmountAdjusted": "0",
                    "currency": "",
                    "amountDue": [
                        {
                            "component": "MINTEREST",
                            "amountDue": "1630.9",
                            "amountPaid": "1630.9",
                            "adjustedAmount": "1630.9",
                            "currency": ""
                        }
                    ]
                },
                {
                    "dueDate": "2022-08-31",
                    "totalAmountDue": "1795.4",
                    "totalAmountPaid": "0",
                    "totalAmountAdjusted": "0",
                    "currency": "",
                    "amountDue": [
                        {
                            "component": "MINTEREST",
                            "amountDue": "1795.4",
                            "amountPaid": "1795.4",
                            "adjustedAmount": "1795.4",
                            "currency": ""
                        }
                    ]
                },
                {
                    "dueDate": "2022-09-30",
                    "totalAmountDue": "1569.8",
                    "totalAmountPaid": "0",
                    "totalAmountAdjusted": "0",
                    "currency": "",
                    "amountDue": [
                        {
                            "component": "MINTEREST",
                            "amountDue": "1569.8",
                            "amountPaid": "1569.8",
                            "adjustedAmount": "1569.8",
                            "currency": ""
                        }
                    ]
                },
                {
                    "dueDate": "2022-10-31",
                    "totalAmountDue": "1602.7",
                    "totalAmountPaid": "0",
                    "totalAmountAdjusted": "0",
                    "currency": "",
                    "amountDue": [
                        {
                            "component": "MINTEREST",
                            "amountDue": "1602.7",
                            "amountPaid": "1602.7",
                            "adjustedAmount": "1602.7",
                            "currency": ""
                        }
                    ]
                },
                {
                    "dueDate": "2022-11-30",
                    "totalAmountDue": "1551",
                    "totalAmountPaid": "0",
                    "totalAmountAdjusted": "0",
                    "currency": "",
                    "amountDue": [
                        {
                            "component": "MINTEREST",
                            "amountDue": "1551",
                            "amountPaid": "1551",
                            "adjustedAmount": "1551",
                            "currency": ""
                        }
                    ]
                },
                {
                    "dueDate": "2022-12-31",
                    "totalAmountDue": "1602.7",
                    "totalAmountPaid": "0",
                    "totalAmountAdjusted": "0",
                    "currency": "",
                    "amountDue": [
                        {
                            "component": "MINTEREST",
                            "amountDue": "1602.7",
                            "amountPaid": "1602.7",
                            "adjustedAmount": "1602.7",
                            "currency": ""
                        }
                    ]
                },
                {
                    "dueDate": "2023-01-31",
                    "totalAmountDue": "1602.7",
                    "totalAmountPaid": "0",
                    "totalAmountAdjusted": "0",
                    "currency": "",
                    "amountDue": [
                        {
                            "component": "MINTEREST",
                            "amountDue": "1602.7",
                            "amountPaid": "1602.7",
                            "adjustedAmount": "1602.7",
                            "currency": ""
                        }
                    ]
                },
                {
                    "dueDate": "2023-02-28",
                    "totalAmountDue": "1447.6",
                    "totalAmountPaid": "0",
                    "totalAmountAdjusted": "0",
                    "currency": "",
                    "amountDue": [
                        {
                            "component": "MINTEREST",
                            "amountDue": "1447.6",
                            "amountPaid": "1447.6",
                            "adjustedAmount": "1447.6",
                            "currency": ""
                        }
                    ]
                },
                {
                    "dueDate": "2023-03-31",
                    "totalAmountDue": "1602.7",
                    "totalAmountPaid": "0",
                    "totalAmountAdjusted": "0",
                    "currency": "",
                    "amountDue": [
                        {
                            "component": "MINTEREST",
                            "amountDue": "1602.7",
                            "amountPaid": "1602.7",
                            "adjustedAmount": "1602.7",
                            "currency": ""
                        }
                    ]
                },
                {
                    "dueDate": "2023-04-30",
                    "totalAmountDue": "1551",
                    "totalAmountPaid": "0",
                    "totalAmountAdjusted": "0",
                    "currency": "",
                    "amountDue": [
                        {
                            "component": "MINTEREST",
                            "amountDue": "1551",
                            "amountPaid": "1551",
                            "adjustedAmount": "1551",
                            "currency": ""
                        }
                    ]
                },
                {
                    "dueDate": "2023-05-31",
                    "totalAmountDue": "1602.7",
                    "totalAmountPaid": "0",
                    "totalAmountAdjusted": "0",
                    "currency": "",
                    "amountDue": [
                        {
                            "component": "MINTEREST",
                            "amountDue": "1602.7",
                            "amountPaid": "1602.7",
                            "adjustedAmount": "1602.7",
                            "currency": ""
                        }
                    ]
                },
                {
                    "dueDate": "2023-06-20",
                    "totalAmountDue": "170234",
                    "totalAmountPaid": "0",
                    "totalAmountAdjusted": "0",
                    "currency": "",
                    "amountDue": []
                }
            ],
            "errorCode": [
			"errorCode": "",
                    "errorDesc": ""],
            "status": "SUCCESS"
        }

ReverseContract

This API enables the user to reverse the contract.

SERVICE-CONSUMER = “OBSCF_OBCL”

SERVICE-CONSUMER-SERVICE= “ReverseContract”

Request:
{ "serviceConsumerServiceName": "ReverseContract",
    "body": {
        "branchCode": "004",
        "contractRefNo": "004SUPF222590174"
    },
    "serviceConsumerName": "OBSCF_OBCL"
}
Response:
{
        "data": {
            "warningCode": [
                {
                    "warningCode": "OL-AU010",
                    "warningDesc": "Ok to Authorize"
                },
                {
                    "warningCode": "OL-C0070",
                    "warningDesc": "Do you want to reverse contract 004SUPF222590174 ?"
                },
                {
                    "warningCode": "ST-SAVE-076",
                    "warningDesc": "Successfully Reversed And Authorized"
                }
            ],
            "errorCode": [
			"errorCode": "",
                    "errorDesc": ""],
            "status": "SUCCESS"
        }

QueryCustinfo

This API enables the user to query the customer information to fetch the contract reference number.

SERVICE-CONSUMER = “OBSCF_OBCL”

SERVICE-CONSUMER-SERVICE= “QueryCustinfo”

Request:
{ "serviceConsumerServiceName": "QueryCustinfo",
    "body": {
        "branchCode": "004",
        "financeRefNo": "004041022VE03568",
        "buyerId": "001977"
    },
    "serviceConsumerName": "OBSCF_OBCL"
}
Response:
{"body": {
        "data": {
            "warningCode": [
                {
                    "warningCode": "ST-SAVE-073",
                    "warningDesc": "Successfully Retrieved"
                }
            ],
            "userRefNoDetail": {
                "branch": "004",
                "loanReferenceNumber": "004SUPF222550022"
            },
            "errorCode": [
			"errorCode": "",
                    "errorDesc": ""],
            "status": "SUCCESS"
        }
}
}

CreatePayment

This API enables the user to partly/fully settle the loan in Loan Processor.

SERVICE-CONSUMER = “OBSCF_OBCL”

SERVICE-CONSUMER-SERVICE= “CreatePayment”

Request:
{ "serviceConsumerServiceName": "CreatePayment",
    "body": {
        "penIntOnIntPayable": "",
        "penIntComp": "",
        "clRefNo": "004SUPF22277AR63",
        "loanInterestPayable": "",
        "branchCode": "004",
        "penIntPayable": "",
        "principalComp": "PRINCIPAL",
        "penIntOnIntComp": "",
        "limitDate": "2022-11-04",
        "totalSettlementAmount": 100,
        "refundReqd": "N",
        "loanPrincipalPayable": 100,
        "interestComp": "",
        "effectiveDate": "2022-10-04"
    },
    "serviceConsumerName": "OBSCF_OBCL"
}
Response:
{
    "headers": {},
    "body": {
        "data": {
            "warningCode": [
                {
                    "warningCode": "ST-SAVE-052",
                    "warningDesc": "Successfully Saved and Authorized"
                }
            ],
            "amountSchDtls": [
                {
                    "compName": "MINTEREST",
                    "amtOverdue": "35.07",
                    "amtDue": "",
                    "aamtDue": "5.2"
                },
                {
                    "compName": "PRINCIPAL",
                    "amtOverdue": "0",
                    "amtDue": "",
                    "aamtDue": "7350"
                }
            ],
            "loanStatus": "A",
             "errorCode": [
			"errorCode": "",
                    "errorDesc": ""],
            "refundAmount": "0",
            "status": "SUCCESS"
        }

CreatePaymentSim

This API enables the user to fetch the refund details.

SERVICE-CONSUMER = “OBSCF_OBCL”

SERVICE-CONSUMER-SERVICE= “CreatePaymentSim”

Request:
{"serviceConsumerServiceName": "CreatePaymentSim",
    "body": {
        "penIntOnIntPayable": "",
        "penIntComp": "",
        "clRefNo": "004DES5222770575",
        "loanInterestPayable": "",
        "branchCode": "004",
        "penIntPayable": "",
        "principalComp": "PRINCIPAL",
        "penIntOnIntComp": "",
        "limitDate": "2022-12-23",
        "totalSettlementAmount": 100,
        "refundReqd": "Y",
        "loanPrincipalPayable": 100,
        "interestComp": "",
        "effectiveDate": "2022-10-04"
    },
    "serviceConsumerName": "OBSCF_OBCL"
}
Response:
{ "data": {
            "warningCode": [
                {
                    "warningCode": "ST-SAVE-052",
                    "warningDesc": "Successfully Saved and Authorized"
                }
            ],
            "amountSchDtls": [
                {
                    "compName": "MINTEREST",
                    "amtOverdue": "0",
                    "amtDue": "",
                    "aamtDue": ""
                },
                {
                    "compName": "PRINCIPAL",
                    "amtOverdue": "0",
                    "amtDue": "",
                    "aamtDue": "600"
                }
            ],
            "loanStatus": "A",
            "errorCode": [
			"errorCode": "",
                    "errorDesc": ""],
            "refundAmount": "3.51",
            "status": "SUCCESS"
        }
}

ReversePayment

This API enables the user to reverse the payment.

SERVICE-CONSUMER = “OBSCF_OBCL”

SERVICE-CONSUMER-SERVICE= “ReversePayment”

Request:
{ "serviceConsumerServiceName": "ReversePayment",
    "body": {
        "branchCode": "004",
        "clRefNo": "004DES5222770441"
    },
    "serviceConsumerName": "OBSCF_OBCL"
}
Response:
 {
    "headers": {},
    "body": {
        "data": {
            "warningCode": [
                {
                    "warningCode": "ST-SAVE-076",
                    "warningDesc": "Successfully Reversed And Authorized"
                }
            ],
            "errorCode": [
			"errorCode": "",
                    "errorDesc": ""],
            "status": "SUCCESS"
        }

QueryContract

This API enables the user to fetch the contract.

SERVICE-CONSUMER = “OBSCF_OBCL”

SERVICE-CONSUMER-SERVICE= “QueryContract”

Request:
{"serviceConsumerServiceName": "QueryContract",
    "body": {
        "branchCode": "004",
        "contractRefNo": "004SUPF22277AR63",
        "isLoggingRequired": false
    },
    "serviceConsumerName": "OBSCF_OBCL"
}
Response:
{"data": {
            "amountDueDetail": [
                {
                    "totalAmountDues": "650",
                    "amountDue": [
                        {
                            "component": "PRINCIPAL",
                            "amountDue": "650",
                            "amountPaid": "650",
                            "adjustedAmount": "0",
                            "dueDate": "2022-10-04",
                            "payByDate": "2022-10-04",
                            "amountSettledDetails": [
                                {
                                    "currency": "USD",
                                    "amtPaidinCcy": "50",
                                    "amtPaid": "50",
                                    "valueDate": "2022-10-04",
                                    "processDate": "2022-10-04"
                                },
                                {
                                    "currency": "USD",
                                    "amtPaidinCcy": "100",
                                    "amtPaid": "100",
                                    "valueDate": "2022-10-04",
                                    "processDate": "2022-10-04"
                                },
                                {
                                    "currency": "USD",
                                    "amtPaidinCcy": "50",
                                    "amtPaid": "50",
                                    "valueDate": "2022-10-04",
                                    "processDate": "2022-10-04"
                                },
                                {
                                    "currency": "USD",
                                    "amtPaidinCcy": "50",
                                    "amtPaid": "50",
                                    "valueDate": "2022-10-04",
                                    "processDate": "2022-10-04"
                                },
                                {
                                    "currency": "USD",
                                    "amtPaidinCcy": "100",
                                    "amtPaid": "100",
                                    "valueDate": "2022-10-04",
                                    "processDate": "2022-10-04"
                                },
                                {
                                    "currency": "USD",
                                    "amtPaidinCcy": "50",
                                    "amtPaid": "50",
                                    "valueDate": "2022-10-04",
                                    "processDate": "2022-10-04"
                                },
                                {
                                    "currency": "USD",
                                    "amtPaidinCcy": "100",
                                    "amtPaid": "100",
                                    "valueDate": "2022-10-04",
                                    "processDate": "2022-10-04"
                                },
                                {
                                    "currency": "USD",
                                    "amtPaidinCcy": "50",
                                    "amtPaid": "50",
                                    "valueDate": "2022-10-04",
                                    "processDate": "2022-10-04"
                                },
                                {
                                    "currency": "USD",
                                    "amtPaidinCcy": "100",
                                    "amtPaid": "100",
                                    "valueDate": "2022-10-04",
                                    "processDate": "2022-10-04"
                                }
                            ],
                            "contractIccfView": []
                        }
                    ]
                },
                {
                    "totalAmountDues": "35.07",
                    "amountDue": [
                        {
                            "component": "MINTEREST",
                            "amountDue": "35.07",
                            "amountPaid": "0",
                            "adjustedAmount": "0",
                            "dueDate": "2022-10-31",
                            "payByDate": "2022-10-31",
                            "amountSettledDetails": [],
                            "contractIccfView": [
                                {
                                    "rateSofr": "6.45",
                                    "contractRefNo": "004SUPF22277AR63",
                                    "dailyAccSofr": "35.07",
                                    "component": "MINTEREST",
                                    "pAcuInterestSofr": "7350",
                                    "currency": "USD",
                                    "spreadAdjustmentSofr": "0",
                                    "scheduleDate": "2022-10-31",
                                    "marginSofr": "0",
                                    "calculationDateSofr": "2022-10-04",
                                    "interestAmountSofr": "0",
                                    "totalSimpleIntSofr": "35.07",
                                    "rateType": "Fixed",
                                    "finalRate": "6.45",
                                    "noOfDaysSofr": "27",
                                    "rateUi": "6.45"
                                }
                            ]
                        }
                    ]
                },
                {
                    "totalAmountDues": "7355.2",
                    "amountDue": [
                        {
                            "component": "MINTEREST",
                            "amountDue": "5.2",
                            "amountPaid": "0",
                            "adjustedAmount": "0",
                            "dueDate": "2022-11-04",
                            "payByDate": "2022-11-04",
                            "amountSettledDetails": [],
                            "contractIccfView": [
                                {
                                    "rateSofr": "6.45",
                                    "contractRefNo": "004SUPF22277AR63",
                                    "dailyAccSofr": "5.2",
                                    "component": "MINTEREST",
                                    "pAcuInterestSofr": "7350",
                                    "currency": "USD",
                                    "spreadAdjustmentSofr": "0",
                                    "scheduleDate": "2022-11-04",
                                    "marginSofr": "0",
                                    "calculationDateSofr": "2022-10-31",
                                    "interestAmountSofr": "0",
                                    "totalSimpleIntSofr": "5.2",
                                    "rateType": "Fixed",
                                    "finalRate": "6.45",
                                    "noOfDaysSofr": "4",
                                    "rateUi": "6.45"
                                }
                            ]
                        },
                        {
                            "component": "PRINCIPAL",
                            "amountDue": "7350",
                            "amountPaid": "0",
                            "adjustedAmount": "0",
                            "dueDate": "2022-11-04",
                            "payByDate": "2022-11-04",
                            "amountSettledDetails": [],
                            "contractIccfView": []
                        }
                    ]
                }
            ],
            "warningCode": [
                {
                    "warningCode": "ST-SAVE-073",
                    "warningDesc": "Successfully Retrieved"
                }
            ],
            "loanDetails": {
                "branch": "004",
                "loanReferenceNumber": "004SUPF22277AR63"
            },
           "errorCode": [
			"errorCode": "",
                    "errorDesc": ""],
            "status": "SUCCESS"
        }

ModifyContAmendSim

This API enables the user to fetch the refund amount, and other interest details.

SERVICE-CONSUMER = “OBSCF_OBCL”

SERVICE-CONSUMER-SERVICE= “ModifyContAmendSim”

Request:
{
  "serviceConsumerServiceName" : "ModifyContAmendSim",
  "body" : {
    "branchCode" : "004",
    "interestDetails" : {
      "InterestTransactionList" : [ {
        "id" : "1218070345078288384",
        "financeRefNo" : "004011122PT04289",
        "seqNo" : 2,
        "interestType" : "R",
        "interestRateType" : "X",
        "interestRate" : 8,
        "spread" : 2,
        "interestRateTotal" : 10,
        "interestCollFreq" : "B",
        "interestAmtCcy" : "USD",
        "interestAmount" : 0,
        "componetName" : null,
        "interestComp" : "O",
        "fixedRateType" : "U",
        "rateCode" : null,
        "resetTenor" : null,
        "rateFixingDays" : 0,
        "rateCodeUsage" : "A",
        "rateRevisionFreq" : null,
        "rateBasis" : "ACTUAL_360",
        "rateCalcType" : null,
        "tierBasedSpread" : "N",
        "tierType" : "A",
        "frequency" : "B",
        "noOfUnits" : 1,
        "scheduleType" : "NORMAL",
        "referenceDate" : "VALUE_DATE",
        "monthEnd" : null,
        "spreadApplication" : null,
        "interestCollectionPeriod" : null,
        "holidayTreatment" : null,
        "payRecieveAmount" : null,
        "interestAmtTier" : [ ],
        "interestTenorTier" : [ ],
        "interestMixedTier" : [ ],
        "altRiskFreeRate" : "N",
        "rfrMethod" : null,
        "lookBackDays" : null,
        "lockOutDays" : null,
        "isRateCompounding" : null,
        "rfrRoundingUnit" : null,
        "spreadOrMarginComputationMethod" : null,
        "spreadAdjComputationMethod" : null,
        "rateCompundingMethod" : null,
        "pricingDescription" : null,
        "pricingId" : null,
        "rateType" : null,
        "rate" : null,
        "filterCriteria" : "PROGRAM_PARTY_BASED",
        "filterCriteriaName" : "Program Party Based",
        "pricingTemplateCode" : "PC00000115",
        "pricingTemplateDesc" : "Amount Based Int",
        "isAmended" : "Y",
        "updatedSpreadToBeApplied" : 2,
        "amendCount" : 0
      } ]
    },
    "componentDetails" : [ ],
    "financeDetails" : {
      "id" : "1218070345065705472",
      "financeRefNo" : "004011122PT04289",
      "intgStatusCode" : null,
      "seqNo" : 2,
      "reversedSeqNo" : null,
      "requestId" : "R0111222312",
      "branchCode" : "004",
      "productCode" : "PTo7",
      "operationCode" : "AMENDMENT",
      "programCode" : "APTot77",
      "isAdhocTxn" : "N",
      "isSplitTxn" : null,
      "programName" : "Prog For Finance",
      "buyerId" : "000122",
      "buyerName" : "Total Energies",
      "buyerDivCode" : null,
      "buyerDivName" : null,
      "supplierId" : "000687",
      "supplierName" : "Salt",
      "supplierDivCode" : null,
      "supplierDivName" : null,
      "debtor" : "000122",
      "debtorName" : "Total Energies",
      "startDate" : "2022-11-01",
      "tenor" : 30,
      "maturityDate" : "2022-12-01",
      "totalInstrumentAmtCcy" : "USD",
      "totalInstrumentAmt" : 1000,
      "totalNetInvoiceAmt" : 1000,
      "financePCT" : 100,
      "financeAmtCcy" : "USD",
      "financeAmt" : 1000,
      "exchangeRate" : 1,
      "processingDate" : "2022-11-01",
      "settlementProcessingDate" : null,
      "makerId" : "THRUPTHAC",
      "makerDateStamp" : "2022-11-01",
      "authId" : null,
      "authDateStamp" : null,
      "financeStatus" : "DISBURSED",
      "clRefNo" : "004SUPF223060239",
      "settlementRefNo" : null,
      "settlementMethod" : null,
      "totalSettlementAmt" : null,
      "creditReceived" : null,
      "creditAccount" : null,
      "paymentParty" : null,
      "accountType" : null,
      "settlementAmtAllocated" : null,
      "balanceAmtToBeAllocated" : null,
      "settlementAmtAllocation" : null,
      "manualAllocation" : null,
      "pastDueDate" : "2022-12-01",
      "valueDate" : "2022-11-01",
      "principalOSAmount" : 1000,
      "interestOSAmount" : 0,
      "totalOSAmount" : 1000,
      "valueDtdIntOSAmt" : null,
      "overdueIntOSAmt" : 0,
      "valueDtdOverdueIntOSAmt" : null,
      "paymentAmt" : null,
      "appropPaymentAmt" : null,
      "appropriationSequence" : null,
      "pmtToPrncplOS" : null,
      "pmtToIntOS" : null,
      "pmtToOverdueIntOS" : null,
      "productDescription" : "Product For Finance",
      "productCategory" : "INV",
      "maxTenorAllowed" : null,
      "minTenorAllowed" : null,
      "minFinPCT" : null,
      "maxFinPCT" : null,
      "holidayTreatment" : "NBD",
      "productType" : "B",
      "preferredDisbursementMode" : "ACCOUNT_TRANSFER",
      "settlementCcy" : null,
      "totalOSAmountSettlementCcy" : null,
      "refund" : null,
      "settlementExchangeRate" : null,
      "totalOSPostAllocation" : null,
      "settleFinExcRate" : null,
      "stageId" : "Processing",
      "errorCode" : null,
      "errorDescription" : null,
      "graceDays" : 0,
      "partRepaymentAllowed" : null,
      "staleStatus" : null,
      "isOverdue" : null,
      "minFinanciableAmt" : null,
      "maxFinanciableAmt" : null,
      "minReFinPCT" : null,
      "maxReFinPCT" : null,
      "penIntOSAmt" : 0,
      "pmtToPenOnIntOS" : null,
      "valueDtdPenIntOSAmt" : null,
      "interestAmortized" : null,
      "withRecourse" : "Y",
      "transactionFlow" : null,
      "totalMarginAmount" : null,
      "interestType" : "R",
      "interestRefundAmt" : null,
      "interestRefundHandling" : null,
      "interestRefundPmtMode" : null,
      "interestBearingPartyRole" : "B",
      "isFromRecon" : null,
      "interestPaidUpfront" : null,
      "delinquencyStatus" : null,
      "intCalcBasisAmt" : 1000,
      "odIntCalcBasisAmt" : 0,
      "penIntCalcBasisAmt" : 0,
      "isLimitsApplicable" : null,
      "docRefNo" : "004011122PT04289",
      "requestDate" : null,
      "paymentRefNo" : null,
      "chgCalc" : null,
      "utrRefNo" : null,
      "parentRefNo" : null,
      "npaorOverDueCheckResponseModelList" : null,
      "interestDueAmount" : null,
      "valueDtdIntDueAmt" : null,
      "pmtToIntDue" : null,
      "interestCollFreq" : "B",
      "earliestScheduleDate" : null,
      "inProgressSettlementsFound" : null,
      "statusSortingComparator" : null,
      "appropriated" : null,
      "principalOSAmountForCalc" : null,
      "valueDtdIntOSAmtForCalc" : null,
      "valueDtdOverdueIntOSAmtForCalc" : null,
      "valueDtdPenIntOSAmtForCalc" : null,
      "valueDtdIntDueAmtForCalc" : null,
      "totalOSAmountForCalc" : null,
      "prePostConversion" : "N",
      "preShipSettlementAmt" : 0,
      "netDisbursedAmt" : 1000,
      "skipPreShipmentLiquidation" : "N",
      "isFromPostShipmentDisbursement" : null,
      "preShipFinanceRefNo" : null,
      "componentsScheduleCollection" : null,
      "liquidationOrder" : null,
      "postShipmentFinanceModel" : null,
      "autoSettleNFinRefNoList" : null,
      "useEarmarkedLimits" : null,
      "isAmended" : "Y",
      "oldMaturityDate" : null,
      "amendType" : "PRICING",
      "channel" : "HOST",
      "fundingReqDate" : null,
      "instrumentDate" : "2022-11-01"
    }
  },
  "serviceConsumerName" : "OBSCF_OBCL"
}
Response:
{
  "headers" : { },
  "body" : {
    "data" : {
      "interestDetails" : [ {
        "spread" : "0",
        "totalInterestRate" : "2",
        "userRate" : "2",
        "component" : "MINTEREST"
      }, {
        "spread" : "2",
        "totalInterestRate" : "10",
        "userRate" : "8",
        "component" : "PRINPENAL"
      }, {
        "spread" : "0",
        "totalInterestRate" : "2",
        "userRate" : "2",
        "component" : "PENINT"
      } ],
      "amountDueDetail" : [ {
        "totalAmountDues" : "1001.64",
        "amountDue" : [ {
          "component" : "MINTEREST",
          "amountDue" : "1.64",
          "amountPaid" : "",
          "adjustedAmount" : "",
          "dueDate" : "",
          "payByDate" : "2022-12-01",
          "payReceiveAmount" : "0",
          "currency" : "",
          "amountSettledDetails" : [ ],
          "contractIccfView" : [ {
            "rateSofr" : "2",
            "contractRefNo" : "004SUPF223060239",
            "dailyAccSofr" : "1.64",
            "component" : "MINTEREST",
            "pAcuInterestSofr" : "1000",
            "currency" : "USD",
            "spreadAdjustmentSofr" : "0",
            "scheduleDate" : "2022-12-01",
            "marginSofr" : "0",
            "calculationDateSofr" : "2022-11-01",
            "interestAmountSofr" : "0",
            "totalSimpleIntSofr" : "1.64",
            "rateType" : "",
            "finalRate" : "2",
            "noOfDaysSofr" : "30",
            "rateUi" : ""
          } ]
        }, {
          "component" : "PRINCIPAL",
          "amountDue" : "1000",
          "amountPaid" : "",
          "adjustedAmount" : "",
          "dueDate" : "",
          "payByDate" : "2022-12-01",
          "payReceiveAmount" : "0",
          "currency" : "",
          "amountSettledDetails" : [ ],
          "contractIccfView" : [ ]
        } ]
      } ],
      "loanDetails" : {
        "loanReferenceNumber" : "004SUPF223060239",
        "branch" : "004"
      },
      "errorCode" : [ ],
      "status" : "SUCCESS"
    },
    "messages" : {
      "keyId" : null,
      "status" : "SUCCESS",
      "codes" : [ ],
      "requestId" : null,
      "httpStatusCode" : "OK",
      "overrideAuthLevelsReqd" : null
    }
  }
}