Payments and settlement
AP2.
Cart mandates with a three-axis ceiling: AP2 intent + delegation scope + spending policy.
- STATUS
- Testnet
- CRATE
- tenzro-payments
- STABILITY
- Stable
- REFERENCE
- AP2
01
IntentMandate
An IntentMandate declares the user's ceiling: item set, max amount, validity. The cart is bound to the intent at construction time.
02
Three-axis check
Ap2Validator::validate_with_delegation_and_policy enforces (1) AP2 cart constraints, (2) TDIP DelegationScope, (3) runtime SpendingPolicySnapshot. All three must approve.
03
RPC
tenzro_ap2ValidateMandatePair({
intent_mandate: { ... },
cart_mandate: { ... }
})Related