Search

Are you looking for test card numbers?

Would you like to contact support?

Default icon

Get a web user

Get user account information.

Request parameters

To get detailed web user account information, make a POST /getWebUser request specifying

Name Type Required Description

userName

String
-white_check_mark-
A user name string holds the user account display name.
It can include:
  • Digits: 0-9
  • Letters a-z, A-Z
  • Special characters: "." (dot), "-" (hyphen), "_" (underscore)

Response parameters

If there are no errors in the request, the call returns detailed information about the specified user account.

If any issues occur during the process, the call returns an error message.

Name Type Returned by default Description
pspReference String
-white_check_mark-
A reference to uniquely identify the request.

active

Boolean
-white_check_mark-
  • true: the account is active.
  • false: the account is inactive.

email

String
-x-
The email address associated with the user account.
merchantCodes
List
-white_check_mark-
A list holding merchant code strings.

A merchant code string holds a value to identify a merchant. Format:

  • Either: MerchantAccount.Merchant_Code
  • Or: Merchant_Code
roles
List
-x-
A container object for types of role for the account user.
  • RoleType
RoleType enum
-x-
It defines the type of role assigned to the user account.
Some examples of roles are:
  • Merchant_standard_role
  • Merchant_manage_payments
  • Merchant_Report_role
  • Merchant_dispute_management
  • Merchant_technical_integrator
  • Merchant_View_Risk_Results_role
  • Merchant_view_risk_settings
  • Merchant_change_risk_settings 
  • Merchant_allowed_own_password_reset

timeZoneCode

String
-white_check_mark-
The time zone associated to the user account profile. If you do not specify any value, the active user's time zone settings are used instead.

userName

String
-white_check_mark-
A user name string holds the user account display name.
It can include:
  • Digits: 0-9
  • Letters a-z, A-Z
  • Special characters: "." (dot), "-" (hyphen), "_" (underscore)
name Object
-x-
A container object for personal data. This object contains:
  • firstName
  • infix
  • lastName
|-firstName String
-x-
The first name/given name of the user.
  • Max. length: 80 characters
  |-infix String
-x-
Infix in the user account's name.
  • Max. length: 20 characters
  |-lastName String
-x-
The last name/family name of the user.
  • Max. length: 80 characters
  |-gender String
-x-
Defines the gender of the user.
Allowed values:
  • MALE
  • FEMALE
  • UNKNOWN

Examples

Request

{  
   "userName":"merchant1"
}
<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>
    <getWebUser xmlns="http://caaccount.services.adyen.com">
      <request>
        <userName>merchant1</userName>
      </request>
    </getWebUser>
  </soap:Body>
</soap:Envelope>

Response

{  
   "pspReference":"9914526953450369",
   "active":"true",
   "email":"janedoe@adyen.com",
   "merchantCodes":[  
      "TestMerchant"
   ],
   "name":{  
      "firstName":"Jane",
      "gender":"FEMALE",
      "lastName":"Doe"
   },
   "timeZoneCode":"Europe/Amsterdam",
   "userName":"merchant1"
}
 <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:getWebUserResponse>
      <ns0:response>
        <ns0:pspReference>9914526953450369</ns0:pspReference>
        <ns0:active>true</ns0:active>
        <ns0:email>janedoe@adyen.com</ns0:email>
        <ns0:merchantCodes>
          <ns0:string>TestMerchant</ns0:string>
        </ns0:merchantCodes>
        <ns0:name>
          <ns1:firstName>Jane</ns1:firstName>
          <ns1:gender>FEMALE</ns1:gender>
          <ns1:lastName>Doe</ns1:lastName>
        </ns0:name>
        <ns0:timeZoneCode>Europe/Amsterdam</ns0:timeZoneCode>
        <ns0:userName>merchant1</ns0:userName>
      </ns0:response>
    </ns0:getWebUserResponse>
  </soap:Body>
</soap:Envelope>