Skip to main content

Create Account

This operation creates a “blank” credit account. Mainly used for generating payment reference numbers.

Parameters

Fieldmin OccursnillableMaxTypeDescription
Password1false50stringThe password used to authorize the request.
Username1false50stringThe username used to authorize the request.
CorrelationId1true50stringCorrelationID is sent back in the response.
CountryCode1false2stringThe country code (ISO 3166-1 alpha-2) for country.
IntegrationId1true128stringThe integration ID can be assigned to customers in order to uniquely identify customers (instead of using Civic reg no).
RegNo1true20stringThe registration number of the customer. Either civic registration number or organization number. Only nillable if an IntegrationId is set andhas been assigned to the RegNo beforehand.
StoreId1true4shortThe StoreId used for identification of store.

Response

Fieldmin OccursnillableMaxTypeDescription
CorrelationID1true50stringCorrelationID from the request if any.
PaymentReference1true50stringThe payment reference of the account existing/created.

Example Requests

 Value
Environment:UAT
Service:PaymentService
URL:https://ecommercetest.collector.se/v3.0/PaymentServiceV10.svc?wsdl
Function:CreateAccount
Description:The operation creates an account for the specified customer
Notes:N/A
<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:CreateAccountRequest>
<pay:CorrelationId>CreateAccountV10</pay:CorrelationId>
<pay:CountryCode>SE</pay:CountryCode>
<pay:IntegrationId xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<pay:InvoiceType>3</pay:InvoiceType>
<pay:RegNo>195001182046 </pay:RegNo>
<pay:StoreId>1234</pay:StoreId>
</pay:CreateAccountRequest>
</soapenv:Body>
</soapenv:Envelope>

Error Codes

Please see separate page Error Codes

Fault CodeDescription