updatePayoutSchedule examples

Request

{  
  "merchantCode":"TestMerchant",
  "payoutScheduleDays":1
}
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <soap:Body>
    <updatePayoutSchedule xmlns="http://caaccount.services.adyen.com">
      <request>
        <merchantCode>TestMerchant</merchantCode>
        <payoutScheduleDays>1</payoutScheduleDays>
      </request>
    </updatePayoutSchedule>
  </soap:Body>
</soap:Envelope>

Response

{  
   "pspReference":"9914140718370613"
}
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="http://caaccount.services.adyen.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <soap:Body>
    <ns0:updatePayoutScheduleResponse>
      <ns0:response>
        <ns0:pspReference>9914140718370613</ns0:pspReference>
      </ns0:response>
    </ns0:updatePayoutScheduleResponse>
  </soap:Body>
</soap:Envelope>

Response in case of an error or warning

{  
  "pspReference":"9914526950450289",
  "warnings":[  
    "8_006 accountKey is deprecated, please use merchantCode instead"
  ]
}
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="http://caaccount.services.adyen.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <soap:Body>
    <ns0:updatePayoutScheduleResponse>
      <ns0:response>
        <ns0:pspReference>9914526950450289</ns0:pspReference>
        <ns0:warnings>
      <ns0:string>8_006 accountKey is deprecated, please use merchantCode instead</ns0:string>
   </ns0:warnings>
      </ns0:response>
    </ns0:updatePayoutScheduleResponse>
  </soap:Body>
</soap:Envelope>