PayByMy.AI
API reference

Two surfaces, one core.

Pay By AI exposes the same operations through two transports. Traditional backends and plugins use the REST API. AI agents use the MCP (Model Context Protocol) endpoint. Both call into the same business logic, so feature parity is an invariant — if something works on one surface, it works on the other.

REST API

HTTPS + JSON for backends.

For merchant backends, e-commerce plugins, CLI tools, and any non-AI integrator. Authenticate with your merchant API key; mint payment tokens; cancel; read.

https://www.paybymyai.com/api/*
MCP API

JSON-RPC tools for AI agents.

For Claude, ChatGPT, and custom agents. Authenticate with a budget code the user minted. Discover merchants, preview tokens, pay — bounded by the user's consent rules.

POST https://www.paybymyai.com/api/mcp

Machine-readable summary

For AI clients ingesting the API from a short file, we follow the llmstxt.org convention:

/llms.txt

Other docs in this site

API reference for AI agents and merchants — Pay By AI