PaymentService
General for almost all requests is that an invoice number (InvoiceNumber) is needed to handle the request. The invoice number is generated by Walley in the AddInvoice method and returned in the response. This invoice number needs to be stored (together with your order) for further request of that invoice, for example when handling returns.
BaseAddress​
Parameter | Required | Type | Max | Description |
---|---|---|---|---|
Firstname | string | 50 | ||
Lastname | string | 50 | ||
Address1 | string | 50 | Required in all countries but Norway | |
Address2 | string | 50 | ||
COAddress | string | 50 | ||
PostalCode | string | 50 | ||
City | string | 50 | ||
CountryCode | string | 2 |
Address​
Parameter | Required | Type | Max | Description |
---|---|---|---|---|
Firstname | string | 50 | ||
Lastname | string | 50 | ||
CompanyName | string | 200 | ||
Address1 | string | 50 | Required in all countries but Norway | |
Address2 | string | 50 | ||
COAddress | string | 50 | ||
PostalCode | string | 50 | ||
City | string | 50 | ||
CountryCode | string | 2 | ||
string | 260 | The customer's email address | ||
PhoneNumber | string | 20 | The customer's phone number. Should always contain country code (eg. +46 xxx xxx xxx). | |
MobilePhone | string | 20 | The customer's cell phone number. Should always contain country code (eg. +46 xxx xxx xxx). |
InvoiceRow​
Parameter | Required | Type | Max | Description |
---|---|---|---|---|
ArticleId | x | string | 50 | The ArticleId of the product. |
Description | x | string | 50 | The description of the product. |
Quantity | x | int | 8 | The quantity of the product. 1-99999999 (0 not allowed) |
UnitPrice | x | decimal | 6,2 | Price per unit incl. VAT. |
VAT | x | decimal | 6,2 | VAT in per cent |
ArticleList​
Parameter | Required | Type | Max | Description |
---|---|---|---|---|
ArticleId | x | string | 50 | The ArticleId of the product |
Description | string | 50 | The Description of the product | |
Quantity | x | string | 8 | The quantity of the product |
UnitPrice | x | decimal | 6,2 | Price per unit incl. VAT. |
IntegrationIds​
Parameter | Required | Type | Max | Description |
---|---|---|---|---|
IntegrationId | x | string | 50 | The integration ID can be assigned to customers in order to uniquely identify customers (instead of using Civic reg no). |
IntegrationId Description | x | string | 50 | A friendly description of the IntegrationId given. Shown on the invoice as the “buyer” instead of the IntegrationId value. Must be used in combination with IntegrationId. No separators should be used, for example: - , . |
AuthorizedSignatory​
Can only be used for company
Parameter | Required | Type | Max | Description |
---|---|---|---|---|
string | 260 | Email to AuthorizedSignatory | ||
RegistrationNumber | string | 12 | Reg. no for authorized signatory. If CompanyPersonalGuarantee is enabled, the reg. no in this parameter will be used as personal guarantee reg. no. | |
UsePersonalGuarantee | boolean | Bool to inform if personal guarantee is accepted by end customer. |
Buyer​
Parameter | Required | Type | Max | Description |
---|---|---|---|---|
Firstname | string | 50 | ||
Lastname | string | 50 | ||
string | 256 | The customer's email address | ||
PhoneNumber | string | 20 | The customer's phone number. Should always contain country code (eg. +46 xxx xxx xxx). | |
MobilePhone | string | 20 | The customer's cell phone number. Should always contain country code (eg. +46 xxx xxx xxx). | |
RegistrationNumber | string | 20 | The civic RegistrationNumber of the buyer |