Skip to main content
GET
/
v1
/
auto_fee_protocol
Retrieve
curl --request GET \
  --url https://{defaultHost}/v1/auto_fee_protocol \
  --header 'Authorization: Bearer <token>'
{
  "id": "f8094fb7-74d2-498c-bf3d-3414b2a0a4ae",
  "object": "auto_fee_protocol",
  "negative_checkout_fee_selection_strategy": "all",
  "negative_line_item_fee_selection_strategy": "all",
  "negative_shipping_fee_selection_strategy": "all",
  "positive_checkout_fee_selection_strategy": "all",
  "positive_line_item_fee_selection_strategy": "all",
  "positive_shipping_fee_selection_strategy": "all",
  "created_at": 1769674926,
  "updated_at": 1769674926
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Success

id
string | null

The UUID of the specific object.

object
string

A string describing the object type returned.

negative_checkout_fee_selection_strategy
enum<string>

Determines how negative fees (discounts) applied at the checkout level are selected when multiple applicable fees exist. - all: Apply all matching fees. - biggest: Apply only the fee with the largest monetary impact. - lowest: Apply only the fee with the smallest monetary impact. - first: Apply the first matching fee based on creation order.

Available options:
all,
biggest,
lowest,
first
negative_line_item_fee_selection_strategy
enum<string>

Determines how negative fees (discounts) applied at the line-item level are selected when multiple applicable fees exist. - all: Apply all matching fees. - biggest: Apply only the fee with the largest monetary impact. - lowest: Apply only the fee with the smallest monetary impact. - first: Apply the first matching fee based on creation order.

Available options:
all,
biggest,
lowest,
first
negative_shipping_fee_selection_strategy
enum<string>

Determines how negative fees (discounts) applied to shipping are selected when multiple applicable fees exist. - all: Apply all matching fees. - biggest: Apply only the fee with the largest monetary impact. - lowest: Apply only the fee with the smallest monetary impact. - first: Apply the first matching fee based on creation order.

Available options:
all,
biggest,
lowest,
first
positive_checkout_fee_selection_strategy
enum<string>

Determines how positive fees applied at the checkout level are selected when multiple applicable fees exist. - all: Apply all matching fees. - biggest: Apply only the fee with the largest monetary impact. - lowest: Apply only the fee with the smallest monetary impact. - first: Apply the first matching fee based on creation order.

Available options:
all,
biggest,
lowest,
first
positive_line_item_fee_selection_strategy
enum<string>

Determines how positive fees applied at the line-item level are selected when multiple applicable fees exist. - all: Apply all matching fees. - biggest: Apply only the fee with the largest monetary impact. - lowest: Apply only the fee with the smallest monetary impact. - first: Apply the first matching fee based on creation order.

Available options:
all,
biggest,
lowest,
first
positive_shipping_fee_selection_strategy
enum<string>

Determines how positive fees applied to shipping are selected when multiple applicable fees exist. - all: Apply all matching fees. - biggest: Apply only the fee with the largest monetary impact. - lowest: Apply only the fee with the smallest monetary impact. - first: Apply the first matching fee based on creation order.

Available options:
all,
biggest,
lowest,
first
created_at
integer | null

Time at which the object was created. Measured in seconds since the Unix epoch.

updated_at
integer | null

Time at which the object was last updated. Measured in seconds since the Unix epoch.