Marketplace API / Types

CheckoutPricingPreview

Object

A non-binding preview of the totals a checkout would charge. Amounts carry the same meaning as the corresponding Checkout fields. Shipping and tax are estimates; the final amounts are fixed when the checkout is created.

type CheckoutPricingPreview

Fields

FieldTypeDescription
appliedCreditsMoney!
Referral credits that would be applied. Always zero where credits do not apply.
discountMoney!
Total discount that would be applied.
shippingFeeMoney!
Estimated shipping fee.
subtotalMoney!
Subtotal before shipping, tax, and discounts.
taxMoney!
Estimated tax.
totalMoney!
Total before discounts and credits: subtotal + shipping + tax.
totalChargedMoney!
The amount the payment processor would be charged: total less discounts and credits, rounded once.