Marketplace API / Types
CheckoutPricingPreview
ObjectA 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 CheckoutPricingPreviewFields
| Field | Type | Description |
|---|---|---|
appliedCredits | Money! | Referral credits that would be applied. Always zero where credits do not apply. |
discount | Money! | Total discount that would be applied. |
shippingFee | Money! | Estimated shipping fee. |
subtotal | Money! | Subtotal before shipping, tax, and discounts. |
tax | Money! | Estimated tax. |
total | Money! | Total before discounts and credits: subtotal + shipping + tax. |
totalCharged | Money! | The amount the payment processor would be charged: total less discounts and credits, rounded once. |