Expand description
Pure payment data types shared by mesh core and the payments engine.
No ledger, no SQLite, no wallet provider: mesh core (gossip, peer state,
the payment wire) depends on this crate only, so it never links the
settlement engine in mesh-llm-payments.
Re-exports§
pub use terms::RequestTerms;
Modules§
- contract
- The
payments.v1plugin contract: capability, operation names and their request/response shapes. The host speaks only this; any provider of the capability (the in-process builtin or an external plugin) implements it. - control
- Local operator commands and approval policy: plain data shared by the host (which validates the request shape) and the engine (which runs it).
- intent
- Request-local restrictions over the profile spending policy; never a saved opt-in.
- lifetimes
- Host-owned invoice lifetimes and payment wait deadlines.
- pricing
- terms
- wire
- Bounded payment framing inside an authenticated mesh QUIC stream.