CartPrices

Prices

Field Type Description
price Price Price without discounts and costs
discount Price Total discount that was applied
warranty Price Price that was charged to serve as a warranty. This should get reimbursed by the shop.
delivery_cost Price Delivery cost that has been charged
invoice_cost Price A shop can set an invoice cost when the user asked for an invoice
sms_cost Price A price that was charged for mobile text messages (versbox system only)
transaction_cost Price The transaction cost that was applied for the selected payment method
price_to_pay Price The total price the consumer has to pay
price_with_discount Price Optional. The price of all the items of the cart, including discounts but without any additional costs.

Examples

Example 1

{
    "price": {
        "value": 13,
        "currency": "EUR"
    },
    "discount": {
        "value": 10,
        "currency": "EUR"
    },
    "warranty": {
        "value": 14,
        "currency": "EUR"
    },
    "delivery_cost": {
        "value": 18,
        "currency": "EUR"
    },
    "invoice_cost": {
        "value": 15,
        "currency": "EUR"
    },
    "sms_cost": {
        "value": 15,
        "currency": "EUR"
    },
    "transaction_cost": {
        "value": 16,
        "currency": "EUR"
    },
    "price_to_pay": {
        "value": 19,
        "currency": "EUR"
    },
    "price_with_discount": {
        "value": 12,
        "currency": "EUR"
    }
}
Version update available Please adjust your integration to the latest stable version (1.9.0)
1.5.1 stable