Available on crate feature
server only.Expand description
Price tag sources for the x402 payment gate.
Abstracts over static and dynamic pricing strategies via the
PriceTagSource trait. All sources produce v2::PriceTag values
(V2-only server layer).
Structs§
- Dynamic
Price Tags - Dynamic price tag source - computes price tags per-request via callback.
- Static
Price Tags - Static price tag source - returns the same price tags for every request.
Traits§
- Price
TagSource - Trait for types that can provide V2 price tags for a request.