updateContactDetail examples

Request

 {  
   "contact":{  
      "address":{  
         "city":"Amsterdam",
         "country":"NL",
         "houseNumberOrName":"2",
         "postalCode":"1111",
         "stateOrProvince":"AA",
         "street":"Erstestraat"
      },
      "email":"johanna.van.doe@testshop.nl",
      "name":{  
         "firstName":"Johanna",
         "gender":"FEMALE",
         "infix":"van",
         "lastName":"Doe"
      },
      "personalData":{  
         "dateOfBirth":"1948-08-14",
         "idNumber":"NL2227779",
         "nationality":"PL"
      },
      "phoneNumber":{  
         "phoneCountryCode":"NL",
         "phoneNumber":"11 22 33 44",
         "phoneType":"Landline"
      },
      "webAddress":"http:\/\/testshop.nl"
   },
   "contactType":"financialContact",
   "merchantCode":"TestMerchant"
}
<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>
    <updateContactDetail xmlns="http://caaccount.services.adyen.com">
      <request>
        <contact>
          <email xmlns="http://common.services.adyen.com">johanna.van.doe@testshop.nl</email>
          <name xmlns="http://common.services.adyen.com">
            <firstName>Johanna</firstName>
            <gender>FEMALE</gender>
            <infix>van</infix>
            <lastName>Doe</lastName>
          </name>
          <address xmlns="http://common.services.adyen.com">
            <city>Amsterdam</city>
            <country>NL</country>
            <houseNumberOrName>2</houseNumberOrName>
            <postalCode>1111</postalCode>
            <stateOrProvince>AA</stateOrProvince>
            <street>Erstestraat</street>
          </address>
          <personalData xmlns="http://common.services.adyen.com">
            <dateOfBirth>1948-08-14</dateOfBirth>
            <idNumber>NL2227779</idNumber>
            <nationality>PL</nationality>
          </personalData>
          <phoneNumber xmlns="http://common.services.adyen.com">
            <phoneCountryCode>NL</phoneCountryCode>
            <phoneNumber>11 22 33 44</phoneNumber>
            <phoneType>Landline</phoneType>
          </phoneNumber>
          <webAddress xmlns="http://common.services.adyen.com">http://testshop.nl</webAddress>
        </contact>
        <contactType>financialContact</contactType>
        <merchantCode>TestMerchant</merchantCode>
      </request>
    </updateContactDetail>
  </soap:Body>
</soap:Envelope>

Response

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

Response in case of an error

{  
  "errors":[  
    "8_088 contactType 'financialContact' is not yet configured, can't update"
  ],
  "pspReference":"9914140685310352"
}
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="http://caaccount.services.adyen.com" xmlns:ns1="http://common.services.adyen.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <soap:Body>
    <ns0:updateContactDetailResponse>
      <ns0:response>
        <ns0:contact>
          <ns0:pspReference>9914140685310352</ns0:pspReference>
          <ns0:errors>
            <ns0:string>8_088 contactType 'financialContact' is not yet configured, can't update</ns0:string>
          </ns0:errors>
        </ns0:contact>
      </ns0:response>
    </ns0:updateContactDetailResponse>
  </soap:Body>
</soap:Envelope>