Entities and methods to handle baskets and payments.
- PaymentResponse
Documentation ShoppingService (1.1)
PaymentMethod
A rate to multiply with price to get price inc VAT. 25% VAT equals a VatRate of 1.25.
Indicates if this is the currently selected payment method for the Checkout. Only one may have this flag set to true. Use UpdatePaymentMethod3 to set this property.
A unique id for the image at our image server. Url for images are formed like http://[client specific CDN]/{ImageKey}. Preset, height and width can be sent as parameters.
Indicates if this payment method is only allowed for companies. Cannot be combined with IsForPersonOnly.
{ "Id": 0, "Name": "string", "TypeId": 0, "TypeName": "string", "Description": "string", "PartNo": "string", "Price": 0, "VatRate": 0, "ImagePath": "string", "IsSelected": true, "Service": { "Id": 0, "Name": "string", "Description": "string", "ImagePath": "string", "ImageKey": "string" }, "ImageKey": "string", "IsForCompanyOnly": true, "IsForPersonOnly": true }
PaymentResponse
String response. OK if successful, otherwise may have different values depending on PSP. MaxLength: 50.
External identifier of this specific payment attempt, usually from the PSP. MaxLength: 50.
Used when a payment should be finalized on a different platform, e.g. sending a link by SMS to customer. MaxLength: 50.
PSP specific data returned for the payment. See PSP documentation.
{ "Status": "string", "StatusDescription": "string", "BasketId": 0, "OrderNo": "string", "PaymentCode": "string", "PaymentReference": "string", "HostedPaymentPage": "string", "RedirectUrl": "string", "RedirectParameters": [ { … } ], "IsSyncronous": true, "PaymentServiceId": 0 }