This call does not support partial updates.
If an error occurs during an update:
- No changes are applied.
- Current data is kept.
- The entire update fails.
Request parameters
To update contact details for the specified contact type associated with a merchant account, make a POST /updateContactDetail
specifying:
Name | Type | Description | |||
---|---|---|---|---|---|
|
enum |
![]() |
The type of contact whose details you want to retrieve.
| ||
|
String |
![]() |
A merchant code string holds a value to identify a merchant. Format:
| ||
contact |
class |
![]() |
A container object for contact type data This field holds the following child element(s):
| ||
|-fullPhoneNumber |
String |
![]() |
Complete telephone number, i.e. country code + area code + phone number, represented as one string. It is handled as a | ||
|-email |
String |
![]() |
The email address associated with the user account. | ||
|- |
String |
![]() |
Web address of the contact. | ||
|-address |
class |
![]() |
A container object for address details. This field holds the following child element(s):
| ||
|- |
String |
![]() |
The city the contact operates from. | ||
|- |
String |
![]() |
The country the contact operates from.The | ||
|- |
String |
![]() |
House number or name of the building the contact operates from. | ||
|- |
String |
![]() |
ZIP code. Character limitations:
| ||
|-stateOrProvince |
String |
![]() |
State, region or province the contact operates from. | ||
|-street |
String |
![]() |
Street address. | ||
|-name |
class |
![]() |
A container object for personal data
| ||
|- |
String |
![]() |
The first name/given name of the user.
| ||
|- |
String |
![]() |
The last name/family name of the user.
| ||
|-personalData |
class |
![]() |
A container object for personal information details.
| ||
|- |
class |
![]() |
The shopper's date of birth. Format: ISO-8601; example: YYYY-MM-DD | ||
|- |
String |
![]() |
A unique identifier for the contact type. | ||
|- |
String |
![]() |
Nationality of the contact.The | ||
|-PhoneNumber |
class |
![]() |
A container object for telephone details. This field holds the following child element(s):
| ||
|- |
String |
![]() |
The country the phone line operates from.The | ||
|- |
String |
![]() |
Telephone number, without the country code. | ||
|- |
enum |
![]() |
Telephone line type.
|
Response parameters
If there are no errors in the request, the call returns a pspReference.
If any issues occur during the process, the call returns one or more warning or error messages.
Name | Type | Returned by default | Description |
---|---|---|---|
|
String |
![]() |
A reference to uniquely identify the request. |
|
String |
![]() |
List containing one or more warning messages. |
|
String |
![]() |
List containing one or more error messages. |
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",
"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>
<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 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>