Metadata-Version: 2.4
Name: opentrust-payment-contracts
Version: 1.0.0
Summary: Abstract payment contracts for OpenTrust payment providers
Author-email: Novel Hut Studios <founder@novelhut.net>
License-Expression: MIT
Project-URL: Homepage, https://github.com/Costder/opentrust
Project-URL: Repository, https://github.com/Costder/opentrust
Project-URL: Issues, https://github.com/Costder/opentrust/issues
Keywords: opentrust,payments,escrow,ai-agents,tool-marketplace
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: pydantic>=2.7
Requires-Dist: cryptography>=42

# Payment Contracts

This package defines the abstract payment interface for OpenTrust registries.

Registry operators who want to enable paid tool access implement the `PaymentGateway`, `EscrowProvider`, and `SubscriptionManager` interfaces against the OpenTrust schema. The reference registry ships a mock checkout provider for demos and keeps production secrets out of source control.

The schema driving these interfaces is in `passport-schema/commercial-status.schema.json` and `passport-schema/escrow.schema.json`.
