Checkout fees let an integration manage required charges and optional services for a market. Read requests require read_markets; changes require write_markets. Required fees apply automatically. Optional fees are offered for selection. Percentage fees use merchandise after product and order discounts, while fixed fees may apply once per order or once per merchandise unit. A fee's selected market tax class is applied after its amount is resolved.
Endpoints#
List checkout fees
List the required charges and optional services configured for a market.
Fees are returned in checkout order together with the live authoring contract. Required fees are applied automatically. Optional fees are available for the customer or an admin to select. Percentage fees use merchandise after product and order discounts; fixed per-item fees multiply by the quantity of the items they apply to. Per-item and percentage fees show a calculation line under the fee name at checkout (for example ₹100.00 per item × 3 or 5% of ₹1,000.00); its wording is the store's Storefront Messages text in the shopper's language. checkout_fee_catalog.calculation_kinds says which fees have one, and calculation_defaults gives that wording in each of the store's storefront languages, with the language's name in English as label and the platform label of a fee's text field as text_prompt. A fee may apply only to carts holding chosen products or products of chosen collections (applies_to_options, at most max_targets_per_fee targets), only from or below a discounted merchandise subtotal, and a percentage fee may be capped (condition_types).
Path parameters
| Name | Type | Description |
|---|---|---|
marketId
required
|
uuid |
Market id. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_INVALID_REQUEST_BODYmarketIdmust be a valid UUID. -
404NOT_FOUNDThe market does not exist in this store.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Get a checkout fee
Read one checkout fee and its complete amount, application, availability, and tax configuration.
Use the returned currency map and contract metadata when populating an edit form. Historical orders retain the fee snapshot recorded when they were placed.
Path parameters
| Name | Type | Description |
|---|---|---|
marketId
required
|
uuid |
Market id. |
feeId
required
|
uuid |
Checkout fee ID. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_INVALID_REQUEST_BODYmarketIdmust be a valid UUID. -
404NOT_FOUNDThe market or checkout fee does not exist in this store.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Create a checkout fee
Add a required charge or optional service to a market.
Fixed fees require an amount for every market currency and may apply once per order or once per merchandise unit. Percentage fees apply once per order to discounted merchandise. A selected tax class must belong to this market. Subtotal conditions and a percentage fee's cap need an amount for every market currency when enabled, like fixed amounts. An optional fee may ask the customer for text (collect_text). A successful create publishes checkout_fees/create.
Path parameters
| Name | Type | Description |
|---|---|---|
marketId
required
|
uuid |
Market id. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
name
required
|
string |
Merchant-facing fee or service name. |
description
|
string |
Optional explanation shown with an optional service. |
fee_type
required
|
string |
Use |
percent_value
|
string|null |
Percentage of discounted merchandise when |
fee_amounts
|
object |
Positive fixed amount keyed by every market currency when |
apply_per
required
|
string |
Use |
tax_class_id
|
uuid|null |
Tax class from this market applied to the resolved fee. |
tax_code
|
string |
The fee's tax code on invoices and tax reports, such as its SAC code in India. |
is_enabled
required
|
boolean |
Whether the fee can participate in checkout. |
is_optional
required
|
boolean |
Whether the customer or admin chooses the fee instead of it applying automatically. |
applies_to
|
string |
|
target_product_ids
|
array<string> |
Targeted product ids as decimal strings, 1 to |
target_collection_ids
|
array<uuid> |
Targeted collection ids, 1 to |
min_subtotal_enabled
|
boolean |
Whether the fee applies only when the discounted merchandise subtotal of the whole cart is at least |
min_subtotal_amounts
|
object |
Positive minimum subtotal keyed by every market currency, as decimal strings, when |
max_subtotal_enabled
|
boolean |
Whether the fee applies only when the discounted merchandise subtotal is below |
max_subtotal_amounts
|
object |
Positive subtotal keyed by every market currency at which the fee stops applying, when |
percent_cap_enabled
|
boolean |
Whether a percentage fee is at most |
percent_cap_amounts
|
object |
Positive maximum fee keyed by every market currency when |
collect_text
|
boolean |
Whether the fee asks the customer for text, such as a gift message, when they select it. Only for optional fees. The text is kept on the order's fee line. Defaults to |
text_required
|
boolean |
Whether the customer must write the text to place an order with the fee selected. Only with |
text_max_length
|
integer|null |
The most characters the customer may write, 1 to |
text_prompt
|
string |
The text field's label in the store's default language, at most |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_INVALID_REQUEST_BODYmarketIdmust be a valid UUID. The request body is not valid JSON. -
400CHECKOUT_FEE_NAME_REQUIREDnameis empty. -
400CHECKOUT_FEE_NAME_TOO_LONGnameexceeds the live contract limit. -
400CHECKOUT_FEE_DESCRIPTION_TOO_LONGdescriptionexceeds the live contract limit. -
400CHECKOUT_FEE_TYPE_INVALIDfee_typeor its accompanying value fields are invalid. -
400CHECKOUT_FEE_APPLY_PER_INVALIDapply_peris not supported for this fee type. -
400CHECKOUT_FEE_PERCENT_RANGEpercent_valueis missing, not greater than 0, above 100, or has more than 2 decimal places. -
400CHECKOUT_AMOUNT_CURRENCY_REQUIREDA fixed fee, or an enabled subtotal condition or cap, is missing an amount for one of the market's currencies.
-
400CHECKOUT_AMOUNT_CURRENCY_UNKNOWNAn amount uses a currency that is not assigned to this market.
-
400CHECKOUT_AMOUNT_POSITIVEAn amount is zero or negative.
-
400CHECKOUT_AMOUNT_TOO_LARGEAn amount exceeds money_max from the limits endpoint, rounded down to the currency's decimal places (9999999999999999.99 for USD); the message gives the currency's maximum.
-
400CHECKOUT_AMOUNT_TOO_PRECISEAn amount has more decimal places than its currency supports.
-
400CHECKOUT_AMOUNT_INVALIDAn amount is not a decimal number; the message names the currency.
-
400TAX_CLASS_NOT_IN_MARKETThe selected tax class does not belong to this market.
-
400CHECKOUT_FEE_APPLIES_TO_INVALIDapplies_tois notall,productsorcollections. -
400CHECKOUT_FEE_TARGETS_REQUIREDapplies_toisproductsorcollectionsbut no target was sent. -
400CHECKOUT_FEE_TARGETS_LIMITMore than
max_targets_per_feetargets were sent. -
400CHECKOUT_FEE_TARGET_NOT_FOUNDA target id is malformed or the product or collection does not exist in this store.
-
400CHECKOUT_FEE_SUBTOTAL_RANGE_INVALIDWith both subtotal conditions enabled, a currency's
max_subtotal_amountsis not greater than itsmin_subtotal_amounts. -
400CHECKOUT_FEE_PERCENT_CAP_NOT_PERCENTpercent_cap_enabledwas sent for a fixed fee. -
400CHECKOUT_FEE_TEXT_NOT_OPTIONALcollect_textwas sent for a required fee. Turn text off before making the fee required. -
400CHECKOUT_FEE_TEXT_MAX_LENGTH_INVALIDtext_max_lengthis outside 1 totext_max_length_limit. -
400CHECKOUT_FEE_TEXT_PROMPT_TOO_LONGtext_promptexceedstext_prompt_max_lengthcharacters. -
404NOT_FOUNDThe market does not exist in this store.
-
400CHECKOUT_FEE_LIMIT_REACHEDThe market already has the maximum number of checkout fees.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Update a checkout fee
Replace the editable definition of one checkout fee.
Send the complete definition you want to keep: a condition, cap, targeting or text setting left out is turned off and its amounts, targets or prompts are deleted, and a description, tax_class_id or tax_code left out is cleared. An unchanged request leaves timestamps, audit history, and webhooks untouched. A successful change publishes checkout_fees/update.
Path parameters
| Name | Type | Description |
|---|---|---|
marketId
required
|
uuid |
Market id. |
feeId
required
|
uuid |
Checkout fee ID. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
name
required
|
string |
Merchant-facing fee or service name. |
description
|
string |
Optional explanation shown with an optional service. |
fee_type
required
|
string |
Use |
percent_value
|
string|null |
Percentage of discounted merchandise when |
fee_amounts
|
object |
Positive fixed amount keyed by every market currency when |
apply_per
required
|
string |
Use |
tax_class_id
|
uuid|null |
Tax class from this market applied to the resolved fee. |
tax_code
|
string |
The fee's tax code on invoices and tax reports, such as its SAC code in India. |
is_enabled
required
|
boolean |
Whether the fee can participate in checkout. |
is_optional
required
|
boolean |
Whether the customer or admin chooses the fee instead of it applying automatically. |
applies_to
|
string |
|
target_product_ids
|
array<string> |
Targeted product ids as decimal strings, 1 to |
target_collection_ids
|
array<uuid> |
Targeted collection ids, 1 to |
min_subtotal_enabled
|
boolean |
Whether the fee applies only when the discounted merchandise subtotal of the whole cart is at least |
min_subtotal_amounts
|
object |
Positive minimum subtotal keyed by every market currency, as decimal strings, when |
max_subtotal_enabled
|
boolean |
Whether the fee applies only when the discounted merchandise subtotal is below |
max_subtotal_amounts
|
object |
Positive subtotal keyed by every market currency at which the fee stops applying, when |
percent_cap_enabled
|
boolean |
Whether a percentage fee is at most |
percent_cap_amounts
|
object |
Positive maximum fee keyed by every market currency when |
collect_text
|
boolean |
Whether the fee asks the customer for text, such as a gift message, when they select it. Only for optional fees. The text is kept on the order's fee line. Defaults to |
text_required
|
boolean |
Whether the customer must write the text to place an order with the fee selected. Only with |
text_max_length
|
integer|null |
The most characters the customer may write, 1 to |
text_prompt
|
string |
The text field's label in the store's default language, at most |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_INVALID_REQUEST_BODYmarketIdmust be a valid UUID. The request body is not valid JSON. -
400CHECKOUT_FEE_NAME_REQUIREDnameis empty. -
400CHECKOUT_FEE_NAME_TOO_LONGnameexceeds the live contract limit. -
400CHECKOUT_FEE_DESCRIPTION_TOO_LONGdescriptionexceeds the live contract limit. -
400CHECKOUT_FEE_TYPE_INVALIDfee_typeor its accompanying value fields are invalid. -
400CHECKOUT_FEE_APPLY_PER_INVALIDapply_peris not supported for this fee type. -
400CHECKOUT_FEE_PERCENT_RANGEpercent_valueis missing, not greater than 0, above 100, or has more than 2 decimal places. -
400CHECKOUT_AMOUNT_CURRENCY_REQUIREDA fixed fee, or an enabled subtotal condition or cap, is missing an amount for one of the market's currencies.
-
400CHECKOUT_AMOUNT_CURRENCY_UNKNOWNAn amount uses a currency that is not assigned to this market.
-
400CHECKOUT_AMOUNT_POSITIVEAn amount is zero or negative.
-
400CHECKOUT_AMOUNT_TOO_LARGEAn amount exceeds money_max from the limits endpoint, rounded down to the currency's decimal places (9999999999999999.99 for USD); the message gives the currency's maximum.
-
400CHECKOUT_AMOUNT_TOO_PRECISEAn amount has more decimal places than its currency supports.
-
400CHECKOUT_AMOUNT_INVALIDAn amount is not a decimal number; the message names the currency.
-
400TAX_CLASS_NOT_IN_MARKETThe selected tax class does not belong to this market.
-
400CHECKOUT_FEE_APPLIES_TO_INVALIDapplies_tois notall,productsorcollections. -
400CHECKOUT_FEE_TARGETS_REQUIREDapplies_toisproductsorcollectionsbut no target was sent. -
400CHECKOUT_FEE_TARGETS_LIMITMore than
max_targets_per_feetargets were sent. -
400CHECKOUT_FEE_TARGET_NOT_FOUNDA target id is malformed or the product or collection does not exist in this store.
-
400CHECKOUT_FEE_SUBTOTAL_RANGE_INVALIDWith both subtotal conditions enabled, a currency's
max_subtotal_amountsis not greater than itsmin_subtotal_amounts. -
400CHECKOUT_FEE_PERCENT_CAP_NOT_PERCENTpercent_cap_enabledwas sent for a fixed fee. -
400CHECKOUT_FEE_TEXT_NOT_OPTIONALcollect_textwas sent for a required fee. Turn text off before making the fee required. -
400CHECKOUT_FEE_TEXT_MAX_LENGTH_INVALIDtext_max_lengthis outside 1 totext_max_length_limit. -
400CHECKOUT_FEE_TEXT_PROMPT_TOO_LONGtext_promptexceedstext_prompt_max_lengthcharacters. -
404NOT_FOUNDThe market or checkout fee does not exist in this store.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Delete a checkout fee
Remove a checkout fee from future calculations.
Existing orders keep their saved fee and tax evidence. A successful deletion publishes checkout_fees/delete with the fee's last known identity.
Path parameters
| Name | Type | Description |
|---|---|---|
marketId
required
|
uuid |
Market id. |
feeId
required
|
uuid |
Checkout fee ID. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_INVALID_REQUEST_BODYmarketIdmust be a valid UUID. -
404NOT_FOUNDThe market or checkout fee does not exist in this store.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe request body has a property; this endpoint takes no body. Send no body or an empty object
{}. -
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Reorder checkout fees
Set the order in which checkout fees are presented.
Send every current fee id exactly once. An unchanged order is a no-op. A successful change publishes checkout_fees/reorder with the complete ordered id list.
Path parameters
| Name | Type | Description |
|---|---|---|
marketId
required
|
uuid |
Market id. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
fee_ids
required
|
array<uuid> |
Every current checkout fee id in the order checkout should present them. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_INVALID_REQUEST_BODYmarketIdmust be a valid UUID. -
400CHECKOUT_FEE_REORDER_INVALIDfee_idsdoes not contain every current checkout fee exactly once. -
404NOT_FOUNDThe market does not exist in this store.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Webhook events#
Subscribe to these events when your app keeps a local copy of checkout fees. Create and update events contain the complete saved fee. Delete identifies the removed fee. Reorder contains the complete ordered id list. Requests that make no effective change do not publish an event.
Checkout fee created
Subscribe to receive a checkout fee after it is created in a market. Money maps contain exact decimal strings keyed by currency code, using currency amount precision (for example KWD 1.234, KRW 1234, USD 12.34). They never use General display separators or symbols.
Payload fields
| Field | Type | Description |
|---|---|---|
checkout_fee.id |
string |
Always present |
checkout_fee.market_id |
string |
Selectable in the Payload builder |
checkout_fee.name |
string |
Selectable in the Payload builder |
checkout_fee.description |
string |
Selectable in the Payload builder |
checkout_fee.fee_type |
string |
Selectable in the Payload builder |
checkout_fee.percent_value |
string | null |
Selectable in the Payload builder |
checkout_fee.fee_amounts |
object |
Selectable in the Payload builder |
checkout_fee.apply_per |
string |
Selectable in the Payload builder |
checkout_fee.tax_class_id |
string | null |
Selectable in the Payload builder |
checkout_fee.tax_code |
string |
Selectable in the Payload builder |
checkout_fee.is_enabled |
boolean |
Selectable in the Payload builder |
checkout_fee.is_optional |
boolean |
Selectable in the Payload builder |
checkout_fee.applies_to |
string |
Selectable in the Payload builder
all (every cart), products or collections: the fee applies only when the cart holds a targeted product, or a product of a targeted collection. A per-item fee then counts only those items, and a percentage fee takes only their discounted amount as its base. |
checkout_fee.target_product_ids |
array |
Selectable in the Payload builder
Targeted product ids, as decimal strings, when applies_to is products; otherwise empty. |
checkout_fee.target_collection_ids |
array |
Selectable in the Payload builder
Targeted collection ids when applies_to is collections; otherwise empty. |
checkout_fee.targets[*].type |
string |
Selectable in the Payload builder |
checkout_fee.targets[*].id |
string |
Selectable in the Payload builder |
checkout_fee.targets[*].title |
string |
Selectable in the Payload builder |
checkout_fee.min_subtotal_enabled |
boolean |
Selectable in the Payload builder
The fee applies only when the discounted merchandise subtotal is at least min_subtotal_amounts in the order currency. |
checkout_fee.min_subtotal_amounts |
object |
Selectable in the Payload builder
Exact-decimal minimum subtotal per market currency; empty when min_subtotal_enabled is false. |
checkout_fee.max_subtotal_enabled |
boolean |
Selectable in the Payload builder
The fee applies only when the discounted merchandise subtotal is below max_subtotal_amounts in the order currency. |
checkout_fee.max_subtotal_amounts |
object |
Selectable in the Payload builder
Exact-decimal subtotal per market currency at which the fee stops applying; empty when max_subtotal_enabled is false. |
checkout_fee.percent_cap_enabled |
boolean |
Selectable in the Payload builder
A percentage fee is at most percent_cap_amounts in the order currency. |
checkout_fee.percent_cap_amounts |
object |
Selectable in the Payload builder
Exact-decimal maximum fee per market currency; empty when percent_cap_enabled is false. |
checkout_fee.collect_text |
boolean |
Selectable in the Payload builder
The optional fee asks the customer for text (for example a gift message), kept on the order's fee line. |
checkout_fee.text_required |
boolean |
Selectable in the Payload builder
Checkout needs the text when the customer selects the fee. |
checkout_fee.text_max_length |
integer | null |
Selectable in the Payload builder
The most characters the customer may write; null when collect_text is false. |
checkout_fee.text_prompt |
string |
Selectable in the Payload builder
The text field's label in the store's default language; empty uses the platform label. Its translations are read with the checkout fee translation endpoints. |
checkout_fee.sort_order |
integer |
Selectable in the Payload builder |
checkout_fee.created_at |
string |
Selectable in the Payload builder |
checkout_fee.updated_at |
string |
Selectable in the Payload builder |
Checkout fee updated
Subscribe to receive the current checkout fee after its amount, application, tax treatment or availability changes. A new position sends checkout_fees/reorder instead. Money maps contain exact decimal strings keyed by currency code, using currency amount precision (for example KWD 1.234, KRW 1234, USD 12.34). They never use General display separators or symbols.
Payload fields
| Field | Type | Description |
|---|---|---|
checkout_fee.id |
string |
Always present |
checkout_fee.market_id |
string |
Selectable in the Payload builder |
checkout_fee.name |
string |
Selectable in the Payload builder |
checkout_fee.description |
string |
Selectable in the Payload builder |
checkout_fee.fee_type |
string |
Selectable in the Payload builder |
checkout_fee.percent_value |
string | null |
Selectable in the Payload builder |
checkout_fee.fee_amounts |
object |
Selectable in the Payload builder |
checkout_fee.apply_per |
string |
Selectable in the Payload builder |
checkout_fee.tax_class_id |
string | null |
Selectable in the Payload builder |
checkout_fee.tax_code |
string |
Selectable in the Payload builder |
checkout_fee.is_enabled |
boolean |
Selectable in the Payload builder |
checkout_fee.is_optional |
boolean |
Selectable in the Payload builder |
checkout_fee.applies_to |
string |
Selectable in the Payload builder
all (every cart), products or collections: the fee applies only when the cart holds a targeted product, or a product of a targeted collection. A per-item fee then counts only those items, and a percentage fee takes only their discounted amount as its base. |
checkout_fee.target_product_ids |
array |
Selectable in the Payload builder
Targeted product ids, as decimal strings, when applies_to is products; otherwise empty. |
checkout_fee.target_collection_ids |
array |
Selectable in the Payload builder
Targeted collection ids when applies_to is collections; otherwise empty. |
checkout_fee.targets[*].type |
string |
Selectable in the Payload builder |
checkout_fee.targets[*].id |
string |
Selectable in the Payload builder |
checkout_fee.targets[*].title |
string |
Selectable in the Payload builder |
checkout_fee.min_subtotal_enabled |
boolean |
Selectable in the Payload builder
The fee applies only when the discounted merchandise subtotal is at least min_subtotal_amounts in the order currency. |
checkout_fee.min_subtotal_amounts |
object |
Selectable in the Payload builder
Exact-decimal minimum subtotal per market currency; empty when min_subtotal_enabled is false. |
checkout_fee.max_subtotal_enabled |
boolean |
Selectable in the Payload builder
The fee applies only when the discounted merchandise subtotal is below max_subtotal_amounts in the order currency. |
checkout_fee.max_subtotal_amounts |
object |
Selectable in the Payload builder
Exact-decimal subtotal per market currency at which the fee stops applying; empty when max_subtotal_enabled is false. |
checkout_fee.percent_cap_enabled |
boolean |
Selectable in the Payload builder
A percentage fee is at most percent_cap_amounts in the order currency. |
checkout_fee.percent_cap_amounts |
object |
Selectable in the Payload builder
Exact-decimal maximum fee per market currency; empty when percent_cap_enabled is false. |
checkout_fee.collect_text |
boolean |
Selectable in the Payload builder
The optional fee asks the customer for text (for example a gift message), kept on the order's fee line. |
checkout_fee.text_required |
boolean |
Selectable in the Payload builder
Checkout needs the text when the customer selects the fee. |
checkout_fee.text_max_length |
integer | null |
Selectable in the Payload builder
The most characters the customer may write; null when collect_text is false. |
checkout_fee.text_prompt |
string |
Selectable in the Payload builder
The text field's label in the store's default language; empty uses the platform label. Its translations are read with the checkout fee translation endpoints. |
checkout_fee.sort_order |
integer |
Selectable in the Payload builder |
checkout_fee.created_at |
string |
Selectable in the Payload builder |
checkout_fee.updated_at |
string |
Selectable in the Payload builder |
Checkout fee deleted
Subscribe to remove a deleted checkout fee from your integration. The payload keeps its id, market id, and last known name.
Payload fields
| Field | Type | Description |
|---|---|---|
checkout_fee.id |
string |
Always present |
checkout_fee.market_id |
string |
Selectable in the Payload builder |
checkout_fee.name |
string |
Selectable in the Payload builder |
Checkout fees reordered
Subscribe to receive the complete checkout fee order after fees are rearranged in a market.
Payload fields
| Field | Type | Description |
|---|---|---|
market_id |
string |
Always present |
fee_ids |
array |
Selectable in the Payload builder |