Tenzro
Payments and settlement

Payment protocols.

The catalog of supported rails. Each is implemented behind the PaymentProtocol trait.
STATUS
Testnet
CRATE
tenzro-payments
STABILITY
Stable
TYPE
Reference
01

Trait

trait PaymentProtocol {
    async fn create_challenge(...) -> Result<Challenge>;
    async fn verify_credential(...) -> Result<bool>;
    async fn settle(...) -> Result<Receipt>;
    async fn create_credential(...) -> Result<Credential>;
}
02

Rails

MPP, x402, AP2, Visa TAP, Mastercard Agent Pay, Tempo, and native TNZO are all first-class. The PaymentGateway picks the right protocol for a given PaymentProtocolId.

03

Identity binding

IdentityPaymentBinder looks up the payer DID, enforces DelegationScope::enforce_operation and the SpendingPolicyResolver, then routes to the protocol.

04

AP2 mandates

AP2 carts add an extra ceiling: the cart mandate is validated against both the delegation scope and the spending policy via Ap2Validator::validate_with_delegation_and_policy.

Related
← All docs