Payments class is the main entry point for all Nevermined payment operations.
Initialization
Singleton Pattern
The SDK uses a singleton pattern. Callget_instance() to get or create the instance:
Available Modules
The Payments class exposes several modules:| Module | Description |
|---|---|
payments.agents | Agent registration and management |
payments.plans | Payment plan operations |
payments.requests | Request validation |
payments.x402 | x402 protocol support |
payments.facilitator | x402 verification and settlement |
payments.a2a | Google A2A integration |
payments.mcp | MCP server integration |