# ThaiFi MPP Portal Directory of independent MPP (Machine Payments Protocol) servers on ThaiFi chain 17. **Discovery here is free.** Purchases happen DIRECTLY on each seller's own server — this portal never intermediates payments and takes no cut of them. Each seller decides what to sell, the price, and the token. ## Discovery (all free, JSON) - `GET https://portal.thaifi.com/listings` — every active listing with its services - `GET https://portal.thaifi.com/listings/{id}` — one listing - `GET https://portal.thaifi.com/search?q=…` — keyword search across names, descriptions and services - `GET https://portal.thaifi.com/openapi.json` — OpenAPI (includes the paid listing-creation offer) ## How to buy (you pay the SELLER, not the portal) 1. Find a service below or via `GET /search`. 2. Call the seller's endpoint at THEIR origin, e.g. `POST https://seller.example/path`. 3. On `402 Payment Required` follow the seller's MPP challenge exactly like any MPP server: pay the quoted amount on chain 17 with the attribution memo bound to their challenge, then retry with `Authorization: Payment `. 4. The portal is not involved in the payment. Delivery/refund issues are between you and the seller (contact field in the listing). `thaifi request` (`npm i -g thaifi-wallet-cli`) handles the whole flow: thaifi request https://seller.example/path -X POST \ -H 'content-type: application/json' -d '{…}' ## List your own MPP server (one-time 10 THCFI) `POST https://portal.thaifi.com/listings` with JSON: { "name": "Your Service", // 3–100 chars "url": "https://your-origin", // your MPP origin (https, scheme+host) "description": "What you sell", // 10–1000 chars "category": "ai", // optional "docs": "https://your-origin/SKILL.md", // optional docs URL "contact": "email or handle", // optional "services": [{ "name": "Generate image", "method": "POST", "path": "/generate", "price": "1 THCFI / image", // free-form label — your rules "token": "THCFI 0x20c0…", // free-form label — your token "description": "…", // optional "docs": "…" // optional per-service notes }] } - The first POST returns `402` with a `WWW-Authenticate: Payment` challenge — pay it (MPP tempo charge, 10 THCFI, push mode) and retry the same request with the `Authorization: Payment` credential. `thaifi request` does this automatically. - Your origin is probed at submission and must respond. - You receive an `edit_key` (shown once). Update anytime with `PATCH https://portal.thaifi.com/listings/{id}` + header `x-edit-key` (free); unpublish with `DELETE` (no refund of the listing fee). - Health: origins are probed hourly. Unreachable for 14 days → unpublished automatically. ## Listing: lst_60829abb53 — ThaiMart Shop (ThaiFi Shop) - Origin: https://shop.thaifi.com - Category: ecommerce · Health: alive · Listed: 2026-10-24T11:33:47.841Z - Demo e-commerce shop running its own shop-native MPP endpoints. Agents browse products, then order and pay straight from a wallet access key in THCSP (ThaiFi Shop Point, a closed-loop baht-backed token). Order tracking, shipping addresses and vouchers included. - Docs: https://shop.thaifi.com/SKILL.md Services (buy direct at the seller's origin): - `GET https://shop.thaifi.com/shop/products` — Product catalog Price: free · Token: n/a Browse products with prices in THCSP - `POST https://shop.thaifi.com/shop/orders` — Place order Price: per cart — 402 quotes the exact subtotal · Token: THCSP 0x20c000000000000000000000BE13077c5011e123 Body: items [{productId, qty}] + shipping address; pays the quoted THCSP amount ## Listing: lst_dc2ac5f198 — ThaiFi MPP - Origin: https://mpp.thaifi.com - Category: ai · Health: alive · Listed: 2026-10-24T11:33:34.781Z - ThaiFi's own MPP server: Thai image generation (iApp, exact Thai text rendering), Qwen-Image on our DGX Spark, Qwen3.8-27B LLM chat, Thai legal knowledge search/Q&A, course booking, TIP-20 token creation and voucher/ticket NFT launchpad. Pay per request in THCFI from a wallet access key. - Docs: https://mpp.thaifi.com/llms.txt Services (buy direct at the seller's origin): - `POST https://mpp.thaifi.com/iapp/generate` — iApp image generation Price: 1.5 THCFI / image · Token: THCFI 0x20c000000000000000000000c82102FFe7064362 Thai text rendering with 19 typefaces — one image per payment - `POST https://mpp.thaifi.com/qwen/generate` — Qwen Image (DGX Spark) Price: 1 THCFI / image · Token: THCFI 0x20c000000000000000000000c82102FFe7064362 Qwen-Image-2.1 on our own GPU — photorealistic, fast - `POST https://mpp.thaifi.com/llm/chat` — Qwen3.8 LLM chat Price: 0.2 THCFI / request · Token: THCFI 0x20c000000000000000000000c82102FFe7064362 Qwen3.8-27B, 128K context, tool calling — OpenAI-compatible - `POST https://mpp.thaifi.com/legal/search` — Legal knowledge search Price: 0.1 THCFI / query · Token: THCFI 0x20c000000000000000000000c82102FFe7064362 Thai digital-asset and payment law full-text search with citations - `POST https://mpp.thaifi.com/legal/ask` — Legal Q&A (RAG) Price: 0.5 THCFI / question · Token: THCFI 0x20c000000000000000000000c82102FFe7064362 Answered from gazette texts with section citations - `POST https://mpp.thaifi.com/courses/{courseId}/register` — Course booking Price: per course — see GET /courses · Token: THCFI 0x20c000000000000000000000c82102FFe7064362 One seat per payment, check-in code by email - `POST https://mpp.thaifi.com/tokens/create` — TIP-20 token creation Price: 1,000 THCFI / token · Token: THCFI 0x20c000000000000000000000c82102FFe7064362 Real system TIP-20 with initial mint, admin handed to the payer - `POST https://mpp.thaifi.com/vouchers/collections` — Voucher / ticket NFT collection Price: max(1,000, qty x 0.2) THCFI · Token: THCFI 0x20c000000000000000000000c82102FFe7064362 Dedicated ERC-1155 contract per collection, metadata hosted