Configuration Request
The Configuration Request allows the merchant to read the stored instalment configuration parameters for his merchant profile.
Request Parameters
<head>
Section
Parameter | Condition | Enumeration |
---|---|---|
system-id |
Mandatory | |
operation |
Mandatory | CONFIGURATION_REQUEST |
credential |
Mandatory |
The CONFIGURATION_REQUEST request does not have a <content>
section.
XML Example
<?xml version="1.0" encoding="UTF-8"?>
<request version="1.0" xmlns="urn://www.ratepay.com/payment/1_0">
<head>
<system-id>MyTestsystem</system-id>
<operation>CONFIGURATION_REQUEST</operation>
<credential>
<profile-id>INTEGRATION_TE_DACH</profile-id>
<securitycode>4c0a11923fa3433fb168f9c7176429e9</securitycode>
</credential>
</head>
</request>
Response Parameters
<head>
Section
Parameter | Condition | Enumeration |
---|---|---|
system-id |
Mandatory | |
operation |
Mandatory | CONFIGURATION_REQUEST |
response-type |
Mandatory | CONFIGURATION_SETTINGS STATUS_ERROR |
processing |
Mandatory |
<content>
Section
The <content>
section of the CONFIGURATION_REQUEST response contains the merchant specific parameters concerning the Installment Calculator configuration.
Parameter | Condition |
---|---|
installment-configuration-result |
Mandatory |
XML Example
<?xml version="1.0" encoding="UTF-8"?>
<response version="1.0" xmlns="urn://www.ratepay.com/payment/1_0">
<head>
<system-id>MyTestsystem</system-id>
<operation>CONFIGURATION_REQUEST</operation>
<response-type>CONFIGURATION_SETTINGS</response-type>
<external/>
<processing>
<timestamp>2016-01-11T15:50:09.000</timestamp>
<status code="OK">Successfully</status>
<reason code="306">Calculation configuration read successful</reason>
<result code="500">Calculation configuration processed</result>
</processing>
</head>
<content>
<installment-configuration-result name="INTEGRATION_TE_DACH" type="DEFAULT">
<interestrate-min>13.7</interestrate-min>
<interestrate-default>13.7</interestrate-default>
<interestrate-max>13.7</interestrate-max>
<interest-rate-merchant-towards-bank>13.7</interest-rate-merchant-towards-bank>
<month-number-min>3</month-number-min>
<month-number-max>48</month-number-max>
<month-longrun>0</month-longrun>
<amount-min-longrun>0</amount-min-longrun>
<month-allowed>3,6,12,24,36,48</month-allowed>
<valid-payment-firstdays>28</valid-payment-firstdays>
<payment-firstday>28</payment-firstday>
<payment-amount>200</payment-amount>
<payment-lastrate>0</payment-lastrate>
<rate-min-normal>20</rate-min-normal>
<rate-min-longrun>0</rate-min-longrun>
<service-charge>3.95</service-charge>
<min-difference-dueday>28</min-difference-dueday>
</installment-configuration-result>
</content>
</response>