Add Customer Proxy
This functionality is used for adding a proxy for a specified customer. It is aimed to be used for a customer who has a legal guardian and who is not allowed to make purchases of his/her own. The proxy will only be allowed to make purchases for that specified customer and store provided in the request.
The proxy is then later used when making an AddInvoice request.
Note that to use this functionality, an agreement with Walley must be made.
Parameters​
Field | min Occurs | nillable | Max | Type | Description |
---|---|---|---|---|---|
Username | 1 | false | 50 | string | The username used to authorize the request. |
Password | 1 | false | 50 | string | The password used to authorize the request. |
CorrelationId | 1 | true | 50 | string | CorrelationID is sent back in the response. |
CountryCode | 1 | false | 4 | string | The country code (ISO 3166-1 alpha-2) for the country. |
CustomerRegistrationNumber | 1 | true | 50 | string | The integration ID can be assigned to customers in order to uniquely identify customers (instead of using Civic reg no). Civic reg. numbers can be used for this but are not mandatory - as long as the value entered is unique. No separators should be used, for example: - , . Only nillable if RegNo is set (usage of RegNo is standard) |
ProxyExpiration | 1 | true | 50 | string | A friendly description of the IntegrationId given. Shown on the invoice as the “buyer” instead of the IntegrationId value if used. Must be used in combination with IntegrationId. No separators should be used, for example: - , . |
ProxyFriendlyName | 1 | false | 20 | string | The customer's registration number. |
ProxyRegistrationNumber | 1 | false | 20 | string | The customer's registration number. |
StoreId | 1 | true | 4 | int | The StoreId used for identification of store. |
Response​
Field | min Occurs | nillable | Max | Type | Description |
---|---|---|---|---|---|
CorrelationId | 1 | true | 50 | string | CorrelationID from the request if any. |
Example Requests​
 | Value |
---|---|
Environment: | UAT |
Service: | PaymentService |
URL: | https://ecommercetest.collector.se/v3.0/PaymentServiceV10.svc?wsdl |
Function: | AddCustomerProxy |
Description: | The operation adds proxy details to the specified customer and merchant |
Notes: | N/A |
- B2C Request
- B2C Response
<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>
</soapenv:Header>
<soapenv:Body>
<pay:AddCustomerProxyRequest>
<pay:CorrelationId></pay:CorrelationId>
<pay:CountryCode>SE</pay:CountryCode>
<pay:CustomerRegistrationNumber>195001182046</pay:CustomerRegistrationNumber>
<pay:ProxyExpiration>2020-12-30T12:46:00.000+01:00</pay:ProxyExpiration>
<pay:ProxyFriendlyName xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<pay:ProxyRegistrationNumber>20000229-0393</pay:ProxyRegistrationNumber>
<pay:StoreId>1234</pay:StoreId>
</pay:AddCustomerProxyRequest>
</soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<AddIntegrationIdResponse xmlns="http://schemas.ecommerce.collector.se/v30/PaymentService">
<CorrelationId>dcda57a3-fd45-47e7-9565-bf4c907e4977</CorrelationId>
</AddIntegrationIdResponse>
</s:Body>
</s:Envelope>
Error Codes​
Please see separate page Error Codes
Fault Code | Description |
---|