# PayAI API

**Canonical:** https://apis.io/apis/payai-network/payai-network-api/  
**Provider:** PayAI — https://apis.io/providers/payai-network/  
**Base URL:** https://merchant.payai.network  
**Documentation:** https://docs.payai.network/x402/reference

PayAI API is published by [PayAI](https://apis.io/providers/payai-network/) on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 6 JSON Schema definitions. The published artifact set on APIs.io includes an OpenAPI specification and 6 JSON Schemas.

PayAI API as documented publicly: 21 operations. Contract generated from the documentation by API Evangelist (2026-11-20); not the provider's own document.

## Operations (21)

| Method | Path | Summary |
|---|---|---|
| GET | `/api/v1/account` | GET /api/v1/account |
| POST | `/api/v1/account/keys` | Create a key from { "name": "…" } |
| DELETE | `/api/v1/account/keys/{id}` | Revoke another key; the calling key cannot revoke itself |
| PUT | `/api/v1/account/recovery-email` | Store { "email": "…" }, send a confirmation code |
| POST | `/api/v1/account/recovery-email/confirm` | Confirm recovery email with code |
| GET | `/api/v1/account/transactions` | Return 1–100 credit transactions plus total and hasMore |
| GET | `/api/v1/account/usage` | Return settlements, successes, and per‑network totals for 1–90 days |
| POST | `/api/v1/keys/recover` | Recover a lost key by signing with the paying wallet |
| POST | `/api/v1/keys/recover/email` | Request a six‑digit recovery code via email |
| POST | `/api/v1/keys/recover/email/confirm` | Confirm the recovery code and receive a new key |
| GET | `/api/v1/keys/vend` | GET /api/v1/keys/vend |
| POST | `/api/v1/keys/vend` | POST /api/v1/keys/vend |
| GET | `/discovery/resources` | List discoverable x402 resources from the Bazaar. |
| GET | `/discovery/stats` | Get aggregate PayAI Bazaar statistics |
| GET | `/health` | Liveness probe |
| GET | `/premium` | Protected route GET /premium |
| GET | `/settle` | Describe the settle endpoint |
| POST | `/settle` | Settles a payment by broadcasting the transaction to the blockchain. |
| GET | `/supported` | Returns the list of payment schemes and networks supported by the facilitator. |
| GET | `/verify` | Describe the verify endpoint |
| POST | `/verify` | Verifies a payment authorization without executing the transaction on the blockchain. |

## Machine-readable artifacts (8)

- **OpenAPI** — https://artifacts.apis.io/payai-network/openapi/_ae-authored/payai-network-openapi-generated.yml
- **JSONSchema** — https://artifacts.apis.io/payai-network/json-schema/payai-network-post-settle-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/payai-network/json-schema/payai-network-post-api-v1-keys-recover-email-confirm-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/payai-network/json-schema/payai-network-post-settle-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/payai-network/json-schema/payai-network-post-verify-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/payai-network/json-schema/payai-network-post-verify-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/payai-network/json-schema/payai-network-get-premium-response-schema.json
- **APIsJSON** — https://artifacts.apis.io/payai-network/apis.yml

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/payai-network` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/payai-network/payai-network-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/payai-network/.
