Following actions are used to calculate installment purchase costs.
The following link should be used for testing purposes:
http://mdsws.merlinx.pl/lukasV1/test.php
Action | Description |
---|---|
instalmentlist | List of possible instalments |
instalment | Instalment rates info |
Parameters:
Element name | Attribute | Description |
---|---|---|
instalmentCnt | - | - |
tripPrice | - | Price of trip |
payment | - | payment advance |
<?xml version='1.0'?> <mds> <auth> <login>LOGIN</login> <pass>PASSWORD</pass> </auth> <request> <type>instalmentlist</type> <conditions> <instalmentCnt>0</instalmentCnt> <tripPrice>1798</tripPrice> <payment>0</payment> </conditions> </request> </mds>
Parameters:
Element name | Attribute | Description |
---|---|---|
tripPrice | - | Price of trip |
payment | - | payment advance |
upFee | - | up fee |
rate | - | loan interest |
instalmentSum | - | sum of the installments |
instalmentList | - | list of installments |
instalment | - | ammount |
instalment | months | how many months long will the loan be |
<response> <tripPrice>1798</tripPrice> <payment>0</payment> <upFee>5%</upFee> <rate>15.1%</rate> <instalmentSum>0</instalmentSum> <instalmentList> <instalment months="12">167.82</instalment> <instalment months="6">317.65</instalment> <instalment months="10">197.78</instalment> <instalment months="15">137.85</instalment> <instalment months="18">117.87</instalment> </instalmentList> <currency>PLN</currency> </response>
Parameters:
Element name | Attribute | Description |
---|---|---|
instalmentCnt | - | how many months length |
tripPrice | - | Price of trip |
payment | - | payment advance |
<?xml version='1.0'?> <mds> <auth> <login>LOGIN</login> <pass>PASSWORD</pass> </auth> <request> <type>instalment</type> <conditions> <instalmentCnt>12</instalmentCnt> <tripPrice>1798</tripPrice> <payment>100</payment> </conditions> </request> </mds>
Parameters:
Element name | Attribute | Description |
---|---|---|
tripPrice | - | Price of trip |
payment | - | payment advance |
upFee | - | up fee |
rate | - | loan interest |
instalment | - | ammount |
instalmentSum | - | sum of the installments |
currency | - | currency |
<response> <tripPrice>1798</tripPrice> <payment>100</payment> <upFee>5%</upFee> <rate>12.09%</rate> <instalment>158.48</instalment> <instalmentSum>1902</instalmentSum> <currency>PLN</currency> </response>