Service
Click here for a complete list of operations.
CreateOrderEu
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /sveawebpay.asmx HTTP/1.1
Host: webpayws.svea.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://webservices.sveaekonomi.se/webpay/CreateOrderEu"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<CreateOrderEu xmlns="https://webservices.sveaekonomi.se/webpay">
<request>
<CreateOrderInformation>
<ClientOrderNumber>string</ClientOrderNumber>
<OrderRows>
<OrderRow xsi:nil="true" />
<OrderRow xsi:nil="true" />
</OrderRows>
<CustomerIdentity>
<NationalIdNumber>string</NationalIdNumber>
<Email>string</Email>
<PhoneNumber>string</PhoneNumber>
<IpAddress>string</IpAddress>
<FullName>string</FullName>
<Street>string</Street>
<CoAddress>string</CoAddress>
<ZipCode>string</ZipCode>
<HouseNumber>string</HouseNumber>
<Locality>string</Locality>
<CountryCode>string</CountryCode>
<CustomerType>Individual or Company</CustomerType>
<PublicKey>string</PublicKey>
<IndividualIdentity xsi:nil="true" />
<CompanyIdentity xsi:nil="true" />
</CustomerIdentity>
<OrderDate>dateTime</OrderDate>
<AddressSelector>string</AddressSelector>
<CustomerReference>string</CustomerReference>
<PeppolId>string</PeppolId>
<OrderDeliveryAddress>
<FullName>string</FullName>
<FirstName>string</FirstName>
<LastName>string</LastName>
<Street>string</Street>
<CoAddress>string</CoAddress>
<ZipCode>string</ZipCode>
<HouseNumber>string</HouseNumber>
<Locality>string</Locality>
<CountryCode>string</CountryCode>
</OrderDeliveryAddress>
<OrderType>Invoice or PaymentPlan or Loan or AccountCredit</OrderType>
<CreatePaymentPlanDetails>
<CampaignCode>long</CampaignCode>
<CoCustomerIdentity xsi:nil="true" />
<SendAutomaticGiroPaymentForm>boolean</SendAutomaticGiroPaymentForm>
<FixedMonthlyAmount>decimal</FixedMonthlyAmount>
</CreatePaymentPlanDetails>
<CreateAccountCreditDetails>
<CampaignCode>long</CampaignCode>
</CreateAccountCreditDetails>
<GroupReference>string</GroupReference>
</CreateOrderInformation>
<Navigation>
<ConfirmationUrl>string</ConfirmationUrl>
<RejectionUrl>string</RejectionUrl>
</Navigation>
</request>
</CreateOrderEu>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<CreateOrderEuResponse xmlns="https://webservices.sveaekonomi.se/webpay">
<CreateOrderEuResult>
<ResultCode>int</ResultCode>
<CreateOrderResult>
<SveaOrderId>long</SveaOrderId>
<OrderType>string</OrderType>
<SveaWillBuyOrder>boolean</SveaWillBuyOrder>
<Amount>decimal</Amount>
<CustomerIdentity>
<NationalIdNumber>string</NationalIdNumber>
<Email>string</Email>
<PhoneNumber>string</PhoneNumber>
<IpAddress>string</IpAddress>
<FullName>string</FullName>
<Street>string</Street>
<CoAddress>string</CoAddress>
<ZipCode>string</ZipCode>
<HouseNumber>string</HouseNumber>
<Locality>string</Locality>
<CountryCode>string</CountryCode>
<CustomerType>Individual or Company</CustomerType>
<PublicKey>string</PublicKey>
<IndividualIdentity xsi:nil="true" />
<CompanyIdentity xsi:nil="true" />
</CustomerIdentity>
<ExpirationDate>dateTime</ExpirationDate>
<ClientOrderNumber>string</ClientOrderNumber>
<PendingReasons>
<string>string</string>
<string>string</string>
</PendingReasons>
</CreateOrderResult>
<NavigationResult>
<RedirectUrl>string</RedirectUrl>
</NavigationResult>
</CreateOrderEuResult>
</CreateOrderEuResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /sveawebpay.asmx HTTP/1.1
Host: webpayws.svea.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<CreateOrderEu xmlns="https://webservices.sveaekonomi.se/webpay">
<request>
<CreateOrderInformation>
<ClientOrderNumber>string</ClientOrderNumber>
<OrderRows>
<OrderRow xsi:nil="true" />
<OrderRow xsi:nil="true" />
</OrderRows>
<CustomerIdentity>
<NationalIdNumber>string</NationalIdNumber>
<Email>string</Email>
<PhoneNumber>string</PhoneNumber>
<IpAddress>string</IpAddress>
<FullName>string</FullName>
<Street>string</Street>
<CoAddress>string</CoAddress>
<ZipCode>string</ZipCode>
<HouseNumber>string</HouseNumber>
<Locality>string</Locality>
<CountryCode>string</CountryCode>
<CustomerType>Individual or Company</CustomerType>
<PublicKey>string</PublicKey>
<IndividualIdentity xsi:nil="true" />
<CompanyIdentity xsi:nil="true" />
</CustomerIdentity>
<OrderDate>dateTime</OrderDate>
<AddressSelector>string</AddressSelector>
<CustomerReference>string</CustomerReference>
<PeppolId>string</PeppolId>
<OrderDeliveryAddress>
<FullName>string</FullName>
<FirstName>string</FirstName>
<LastName>string</LastName>
<Street>string</Street>
<CoAddress>string</CoAddress>
<ZipCode>string</ZipCode>
<HouseNumber>string</HouseNumber>
<Locality>string</Locality>
<CountryCode>string</CountryCode>
</OrderDeliveryAddress>
<OrderType>Invoice or PaymentPlan or Loan or AccountCredit</OrderType>
<CreatePaymentPlanDetails>
<CampaignCode>long</CampaignCode>
<CoCustomerIdentity xsi:nil="true" />
<SendAutomaticGiroPaymentForm>boolean</SendAutomaticGiroPaymentForm>
<FixedMonthlyAmount>decimal</FixedMonthlyAmount>
</CreatePaymentPlanDetails>
<CreateAccountCreditDetails>
<CampaignCode>long</CampaignCode>
</CreateAccountCreditDetails>
<GroupReference>string</GroupReference>
</CreateOrderInformation>
<Navigation>
<ConfirmationUrl>string</ConfirmationUrl>
<RejectionUrl>string</RejectionUrl>
</Navigation>
</request>
</CreateOrderEu>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<CreateOrderEuResponse xmlns="https://webservices.sveaekonomi.se/webpay">
<CreateOrderEuResult>
<ResultCode>int</ResultCode>
<CreateOrderResult>
<SveaOrderId>long</SveaOrderId>
<OrderType>string</OrderType>
<SveaWillBuyOrder>boolean</SveaWillBuyOrder>
<Amount>decimal</Amount>
<CustomerIdentity>
<NationalIdNumber>string</NationalIdNumber>
<Email>string</Email>
<PhoneNumber>string</PhoneNumber>
<IpAddress>string</IpAddress>
<FullName>string</FullName>
<Street>string</Street>
<CoAddress>string</CoAddress>
<ZipCode>string</ZipCode>
<HouseNumber>string</HouseNumber>
<Locality>string</Locality>
<CountryCode>string</CountryCode>
<CustomerType>Individual or Company</CustomerType>
<PublicKey>string</PublicKey>
<IndividualIdentity xsi:nil="true" />
<CompanyIdentity xsi:nil="true" />
</CustomerIdentity>
<ExpirationDate>dateTime</ExpirationDate>
<ClientOrderNumber>string</ClientOrderNumber>
<PendingReasons>
<string>string</string>
<string>string</string>
</PendingReasons>
</CreateOrderResult>
<NavigationResult>
<RedirectUrl>string</RedirectUrl>
</NavigationResult>
</CreateOrderEuResult>
</CreateOrderEuResponse>
</soap12:Body>
</soap12:Envelope>