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 Collector must be made.

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

  • The service can only be used in the checkout and Collector needs to be the pre-chosen payment option.
  • If the payment type is changed from Collector Bank 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 usedf 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.
StoreId1false50stringThe 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 Collector 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:inv="http://schemas.ecommerce.collector.se/v30/InvoiceService">
<soapenv:Header>
<inv:Username>USERNAME</inv:Username>
<inv:Password>PASSWORD</inv:Password>
<inv:ClientIpAddress>123.456.789</inv:ClientIpAddress>
</soapenv:Header>
<soapenv:Body>
<inv:GetAddressRequest>
<inv:CorrelationId>987</inv:CorrelationId>
<inv:CountryCode>SE</inv:CountryCode>
<inv:RegNo>1602079954</inv:RegNo>
<inv:StoreId>739</inv:StoreId>
</inv:GetAddressRequest>
</soapenv:Body>
</soapenv:Envelope>

Error Codes

Please see separate page Error Codes

Fault CodeDescription