The GetAddress requests returns address information of a customer based on the their civic registration number. Please note that this functionality is only available in Sweden for consumers. 

When using this service, there's a few conditions that need to be met:

  • The service can only be used in the checkout and Collector need to be the pre-chosen payment option
  • If the payment type is changed, this service must be hidden/disabled
  • The button used to submit the request cannot be named "Hämta adress" / "Get address", instead it should be named "Fortsätt" / "Continue" or something similar

This functionality is available in the following countries:
      

Input Parameters:

Field nillable Max Type Description
Username false 50 string The username used to authorize the request.
Password false 50 string The password used to authorize the request.
StoreId true 4 short The StoreId used for identification of store.
CorrelationId true 50 string CorrelationID is sent back in the response.
CountryCode false 2 string The country code (ISO 3166-1 alpha-2) for the country. Only "SE" allowed.
RegNo false 12 string The customer civic registration number.
ClientIpAddress false 50 string The IP address of the customer performing the purchase at the partner’s web shop.

 

Output Parameters:

Field nillable Max Type Description
CorrelationId true 50 string CorrelationID from the request if any.
Firstname true 50 string First name of the customer.
Lastname true 50 string Last name of the customer.
RegNo true 12 string The customer civic registration number.
Addresses true - BaseAddress A list of addresses where the person is registered.