Reference for the AgentPayClient class, including constructor parameters and basic usage examples for the Python SDK.
AgentPayClient
is the primary interface for interacting with the AgentPay system from your Python MCP server.
agentpay-sdk
package currently on PyPI is a placeholder to reserve the name during Early Access. To get the actual SDK now, join the Waitlist.AgentPayClient
:
AgentPayClient
ConstructorAgentPayClient(service_token: str)
service_token
(str, required):
AgentPayClient
once and reuse the instance throughout your application. This avoids redundant initializations and can be more efficient. How you achieve this depends on your web framework:
AgentPayClient
object initialization. For details on its methods, see: