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": 12,
        "currency": "EUR"
    },
    "discount": {
        "value": 12,
        "currency": "EUR"
    },
    "warranty": {
        "value": 12,
        "currency": "EUR"
    },
    "delivery_cost": {
        "value": 12,
        "currency": "EUR"
    },
    "invoice_cost": {
        "value": 12,
        "currency": "EUR"
    },
    "sms_cost": {
        "value": 12,
        "currency": "EUR"
    },
    "transaction_cost": {
        "value": 12,
        "currency": "EUR"
    },
    "price_to_pay": {
        "value": 12,
        "currency": "EUR"
    },
    "price_with_discount": {
        "value": 12,
        "currency": "EUR"
    }
}
1.5.0 stable