Skip to main content

Get Address

The GetAddress requests returns address information of a private customer based on the their national registration number. To use this functionality, an agreement with Walley must be made.

When this service is used the following needs to be applied:

  • The service can only be used in the checkout and Walley needs to be the pre-chosen payment option.
  • If the payment type is changed from Walley this service should be hidden/disabled.
  • The button that submits the request cannot be named “Hämta adress” (“Get Address”) instead “Fortsätt” (“Proceed”) or equal should be used.

This method is available in the following countries:

Parameters​

Fieldmin OccursnillableMaxTypeDescription
Username1false50stringThe username used to authorize the request.
Password1false50stringThe password used to authorize the request.
ClientIpAddress1false50stringThe IP address of the customer performing the purchase at the partner's web shop.
CorrelationId1false50stringCorrelationID is sent back in the response.
CountryCode1false2stringThe country code (ISO 3166-1 alpha-2) for the country. Only “SE” allowed.
RegNo1false12stringThe customer civic registration number.
StoreId1false-intThe StoreId used for identification of store.

Response​

Fieldmin OccursnillableMaxTypeDescription
BaseAddress1false50stringA list of addresses where the person is registered.
CorrelationId1false50stringCorrelationID from the request if any.
Firstname1false50stringFirst name of the customer.
Lastname1false50stringLast name of the customer.
RegNo1false12stringThe customer civic registration number.

Example Requests​

 Value
Environment:UAT
Service:PaymentService
URL:https://ecommercetest.collector.se/v3.0/PaymentServiceV10.svc?wsdl
Function:GetAddress
Description:The operation returns address information of a customer based on a civic registration number.
Notes:Only available in Sweden for consumers. The service can only be used in the checkout and Walley needs to be the pre chosen payment option. If the payment type is changed this service should be hidden/disabled. The button that submits the request cannot be named “Hämta adress” / "Get address", instead “Fortsätt” / "Continue" or equal should be used.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pay="http://schemas.ecommerce.collector.se/v30/PaymentService">
<soapenv:Header>
<pay:Username>USERNAME</pay:Username>
<pay:Password>PASSWORD</pay:Password>
<pay:ClientIpAddress>127.0.0.1</pay:ClientIpAddress>
</soapenv:Header>
<soapenv:Body>
<pay:GetAddressRequest>
<pay:CorrelationId>GetAddressV10</pay:CorrelationId>
<pay:CountryCode>SE</pay:CountryCode>
<pay:RegNo>200001012384</pay:RegNo>
<pay:StoreId>1234</pay:StoreId>
</pay:GetAddressRequest>
</soapenv:Body>
</soapenv:Envelope>

Error Codes​

Please see separate page Error Codes

Fault CodeDescription