1. Home
  2. Corporate Node
  3. SOAP requests
  4. setVaultParameters

setVaultParameters

Operation setVaultParameters sets vault parameters: thresholds after exceeding which money will be automatically transferred to/from vault.

Example SOAP request:

<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="ns1">
   <soapenv:Header/>
   <soapenv:Body>
    <ns1:setVaultParameters soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
      <toVaultThresholdValue xsi:type="ns1:billonAmount">
       <amount xsi:type="xsd:unsignedLong">1000000</amount>
       <currency xsi:type="xsd:string">PLN</currency>
       <colour xsi:type="xsd:unsignedLong">0</colour>
      </toVaultThresholdValue>
      <fromVaultThresholdValue xsi:type="ns1:billonAmount">
       <amount xsi:type="xsd:unsignedLong">0</amount>
       <currency xsi:type="xsd:string">PLN</currency>
       <colour xsi:type="xsd:unsignedLong">0</colour>
      </fromVaultThresholdValue>
      <vaultTransferFrequencyMinutes xsi:type="xsd:unsignedInt">10</vaultTransferFrequencyMinutes>
      <mpin xsi:type="xsd:string">BRRN54</mpin>
    </ns1:setVaultParameters>
   </soapenv:Body>
</soapenv:Envelope>

 

Request parameters:

parametertypedescription
toVaultThresholdValuebillonAmountafter exceeding this amount money surplus will be automatically transferred to vault
fromVaultThresholdValuebillonAmountwhen accessible money amount will be less from this value, money will be transferred from vault (currently not implemented)
mpinstringmpin number
vaultTransferFrequencyMinutesunsigned intcheck every X minutes if money should be transferred to/from vault

 

Response parameters:

nametypedescription
requestStatusstringresult of request
requestStatusDescriptionstringstatus description

 

Possible errors:

errordescription
ERR_INVALID_AMOUNTinvalid amount
ERR_INVALID_MPINinvalid mpin code
ERR_NOT_ENOUGH_MONEYtoo little money to perform transaction
Was this article helpful to you? Yes No

How can we help?