HomeGuidesAPI ReferenceChangelog
Log In
Guides

Checkout Line Items Value Types

Line Item Value Types offer the following options:

  • Standard (Default) - "Value": 0.19is 19 cents total
  • Discount - Amount to discount "Value": 0.19is 19 cents to subtract
  • DiscountPercentage - Percent to discount "Value": 10is 10%
  • FinalDiscount - Only used for Subscriptions - the final payment will have this Discount
  • PriceOverride - used as the price to charge no matter what the other line items are"Value": 0.19is 19 cents total

Below shows the checkout display when using additional options from Standard

Discounts:

{
   "ReturnUrl": "",
    "OneTimePayment": {
        "CheckoutLineItems": [
            {
                "Name": "Product 123",
                "Value": 1.09,
                "Description": "Testing a payment",
                "ValueType": "Standard"
            },
            {
                "Name": "Test Discount",
                "Value": 0.19,
                "Description": "Discount of 19 cents",
                "ValueType": "Discount"
            }
        ]
    }
}

Will display:

DiscountPercentage:



FinalDiscount: Will be shown on subscription checkout pages coming soon

Priceoverride: