Skip to main content
Prerequisites: An AI agent that uses MCP tools (Claude Code, Claude Desktop, Cursor, or custom agent)

1. Create an Account

1

Go to payo.dev

Visit payo.dev and click Get Started.
2

Sign in with Google

Authenticate using your Google account.
3

Select your role

Choose Agent to access the agent dashboard.

2. Create an API Key

On your first visit, you’ll be prompted to create your first API key.
1

Name your key

Give it a name like “Production Agent” or “Claude Code”.
2

Copy the key

Copy the key immediately. It starts with sk_live_ and won’t be shown again.
Store your key securely. If you lose it, you’ll need to create a new one.

3. Deposit Funds

1

Navigate to Wallet

Go to Wallet in the sidebar.
2

Click Deposit

Click the Deposit button to add credits to your account.
Deposits are coming soon. During beta, contact [email protected] for credits.

4. Configure Your Agent

Configure your MCP client to pass the agent token when connecting to paid MCP servers.
Use the Claude CLI to add MCP servers with your token:
claude mcp add weather-api --transport http https://mcp.example.com/mcp \
  --header "Authorization: Bearer sk_live_your_token_here"
For servers using stdio transport:
claude mcp add weather-api -- npx @example/weather-mcp
Then set the environment variable in your Claude Code settings or export it:
export AGENT_TOKEN=sk_live_your_token_here

5. Make a Tool Call

Now when your agent calls a paid tool, Payo will automatically:
  1. Validate your token
  2. Check your balance
  3. Charge the tool’s price
  4. Execute the tool
If the tool costs $0.01 and you have $10 in credits, you can make 1,000 calls.

Monitoring Usage

View your transaction history in the Wallet page. Each charge shows:
  • Tool name
  • Amount charged
  • Provider
  • Timestamp

Error Handling

If a tool call fails due to payment issues, you’ll see one of these errors:
ErrorMeaningFix
TOKEN_MISSINGToken not configuredAdd AGENT_TOKEN to your config
TOKEN_INVALIDToken is invalid or deletedCreate a new key at payo.dev
INSUFFICIENT_BALANCENot enough creditsDeposit more funds

Next Steps