Search

Are you looking for test card numbers?

Would you like to contact support?

Default icon

Get web user names

Get a list of web user names.

To get a list of web user names, make a POST /getWebUserNames request with an empty request body.

Response parameters

If there are no errors in the request, the call returns a list of web user names for the currently logged in merchant account, and 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

userNames List
-white_check_mark-
A list holding user account name strings.

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)
pspReference String
-white_check_mark-
A reference to uniquely identify the request.
warnings String
-x-
List containing one or more warning messages.
Returned when the request is not correctly processed.
errors String
-x-
List containing one or more error messages.
Returned when the request fails.

Examples

Request

Send an empty JSON or SOAP request.

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

Response

{  
   "pspReference":"9914526953120350",
   "userNames":[  
      "admin",
      "merchant1",
      "merchant_view",
   ]
}
<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:getWebUserNamesResponse>
      <ns0:response>
        <ns0:pspReference>9914526953120350</ns0:pspReference>
        <ns0:userNames>
          <ns0:string>admin</ns0:string>
          <ns0:string>merchant1</ns0:string>
          <ns0:string>merchant_view</ns0:string>
        </ns0:userNames>
      </ns0:response>
    </ns0:getWebUserNamesResponse>
  </soap:Body>
</soap:Envelope>