A named, typed characteristic of a line. New item types add data here instead of a typed sub-object per type.
Examples by item type (illustrative, not exhaustive):
- DEPOSIT:
operation_type= "SALE",linked_line_id= "line-1" - GIFT_CARD:
gift_card_reference= "GCMINGXPC5" - CATALOG:
variant_name= "Large",item_id/variant_id(TEXT),reporting_category_id= "cat-..." - FEE:
fee_type= "SHIPPING" (required); optionalfee_id,value_absoluteorvalue_percentage, and per-type metadata features such asdelivery_name/tracking_reference(shipping),card_type/scheme(surcharge), orpolicy_id(cancellation) - (future) SUBSCRIPTION:
billing_period= "P1M",renews_at= "2026-07-02"
Conventional FEE feature keys:
fee_type(TEXT, required):SHIPPING,SURCHARGE,SERVICE_CHARGE, orCANCELLATIONfee_id(TEXT, optional): identifier of the fee definitionvalue_absolute(INTEGER, optional): configured absolute value in minor units of the sale currency (the charged amount is onprice)value_percentage(INTEGER, optional): configured percentage in minor units (1/100000; e.g. 10000 = 10%)- Per-type metadata (optional, TEXT unless noted):
delivery_name,tracking_reference(shipping);card_type,scheme(surcharge);policy_id(cancellation)
Fields
- maxLength:
100The feature name/key.
Example:
"operation_type" - Options:
"TEXT""INTEGER""DECIMAL""DATE""BOOLEAN"The data type of a feature value. The wire
valueis always a string and is parsed according to this type.Example:
"TEXT" - maxLength:
1000The feature value in canonical string form, to be parsed per
value_type(e.g. INTEGER -> "3", DECIMAL -> "1.50", DATE -> "2026-07-02", BOOLEAN -> "true"). Carrying it as a string keeps the wire format stable as new feature names and value types are introduced.Example:
"SALE"