{"openapi":"3.1.0","info":{"title":"Business Docs & Data (MPP + x402): invoice/receipt PDFs with crypto QR, payment URIs, phone validation, barcodes - from $0.001","version":"1.0.0","description":"Card-only SaaS jobs, pay-per-call in stablecoins: invoice and receipt PDFs from JSON with a pay-in-crypto QR (EIP-681 USDC on Base/Ethereum/L2s, Solana Pay, bitcoin:) at $0.01; wallet payment-request URIs + QR at $0.001; phone-number validation, line type and formatting for 240+ regions (batch 100) at $0.001; barcodes (EAN/UPC, Code 128, GS1-128, DataMatrix, PDF417, QR, Aztec and more) as SVG at $0.002. Pure compute, nothing stored. Pay with MPP on Tempo (USDC.e/pathUSD) or x402 on Base (USDC). Invalid input returns 402 with the reason and is not charged. Docs: https://mpp-biz.fmf-x402.workers.dev/docs — copy-paste examples for the mppx CLI, curl, the TypeScript SDK (mppx) and the Python SDK (pympp), plus an MCP config. Machine-readable: https://mpp-biz.fmf-x402.workers.dev/llms.txt and https://mpp-biz.fmf-x402.workers.dev/openapi.json. MCP (Streamable HTTP): https://mpp-biz.fmf-x402.workers.dev/mcp. Fleet of sister services: https://mpp-docs.fmf-x402.workers.dev, https://mpp-agent-data.fmf-x402.workers.dev, https://mpp-tools.fmf-x402.workers.dev, https://mpp-ai.fmf-x402.workers.dev, https://mpp-browser.fmf-x402.workers.dev, https://mpp-research.fmf-x402.workers.dev, https://mpp-chain.fmf-x402.workers.dev, https://mpp-stt.fmf-x402.workers.dev, https://mpp-compat.fmf-x402.workers.dev, https://mpp-domain.fmf-x402.workers.dev, https://mpp-utils.fmf-x402.workers.dev, https://mtg-sim.fmf-x402.workers.dev, https://controlplane-x402.fmf-x402.workers.dev, https://mpp-cryptotax.fmf-x402.workers.dev, https://mpp-biz.fmf-x402.workers.dev, https://pokemon-tcg-sim.fmf-x402.workers.dev, https://yugioh-sim.fmf-x402.workers.dev, https://lorcana-sim.fmf-x402.workers.dev, https://onepiece-sim.fmf-x402.workers.dev, https://hearthstone-sim.fmf-x402.workers.dev, https://chess-sim.fmf-x402.workers.dev, https://dota2-sim.fmf-x402.workers.dev, https://cs2-sim.fmf-x402.workers.dev. No upstream data sources. pdf-lib (MIT), qrcode-generator (MIT), libphonenumber-js (MIT; metadata from Google libphonenumber, Apache-2.0), bwip-js / BWIPP (MIT).","x-guidance":"POST JSON (or GET with query params) to any /mpp/* route and pay the 402 challenge with MPP on Tempo (USDC.e or pathUSD, WWW-Authenticate: Payment) or x402 v2 on Base (USDC, PAYMENT-REQUIRED / PAYMENT-SIGNATURE headers). Bad input or an upstream failure returns 402 with an error and you are not charged.","contact":{"name":"FMF Tools","url":"https://mpp-biz.fmf-x402.workers.dev/docs","email":"fmf-tools@agentmail.to"},"x-docs":"https://mpp-biz.fmf-x402.workers.dev/docs","x-mcp":"https://mpp-biz.fmf-x402.workers.dev/mcp","x-llms":"https://mpp-biz.fmf-x402.workers.dev/llms.txt","x-fmf-id":"biz"},"servers":[{"url":"https://mpp-biz.fmf-x402.workers.dev"}],"paths":{"/invoice/pdf":{"post":{"operationId":"_invoice_pdf","summary":"Invoice PDF (with pay-in-crypto QR)","description":"Generate a clean, multi-page invoice PDF from JSON: seller/buyer blocks, line items with per-line tax, discount, shipping, totals and amount due; optional pay-with-crypto block with a scannable QR (EIP-681 for USDC/USDT/ETH on Base, Ethereum, Arbitrum, Optimism, Polygon; Solana Pay; bitcoin:) prefilled with the amount due. Returns application/pdf (format=json for base64 + totals). Nothing stored. Price $0.01 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"number":{"type":"string"},"date":{"type":"string"},"due_date":{"type":"string"},"currency":{"type":"string","description":"USD, CAD, EUR, USDC, ETH..."},"seller":{"type":"object","description":"{name, address, email, phone, tax_id, wallet}"},"buyer":{"type":"object"},"items":{"type":"array","items":{"type":"object"},"description":"[{description, quantity, unit_price, tax_rate?}] up to 200"},"tax_rate":{"type":"number","description":"percent, applied to items without their own tax_rate"},"tax_label":{"type":"string"},"discount":{"type":"string","description":"amount or \"10%\""},"shipping":{"type":"number"},"amount_paid":{"type":"number"},"crypto":{"type":"object","description":"{network: base|ethereum|arbitrum|optimism|polygon|solana|bitcoin, token: USDC|USDT|ETH|BTC, address, amount?, chain_id?, token_address?, decimals?, memo?} adds a pay-with-crypto block + QR (EIP-681 / solana: / bitcoin: URI)"},"paid":{"type":"object","description":"{tx_hash, date, explorer_url}"},"notes":{"type":"string"},"terms":{"type":"string"},"footer":{"type":"string"},"accent":{"type":"string","description":"hex colour"},"page_size":{"type":"string","enum":["letter","a4"]},"format":{"type":"string","enum":["pdf","json"],"description":"json returns base64 + totals"}},"required":["items"]},"example":{"number":"INV-1042","date":"2026-11-24","due_date":"2026-12-08","currency":"USDC","seller":{"name":"Acme Labs","email":"billing@acme.example"},"buyer":{"name":"Client Co"},"items":[{"description":"Smart contract audit","quantity":1,"unit_price":2500},{"description":"Gas reimbursement","quantity":3,"unit_price":12.5}],"tax_rate":13,"tax_label":"HST 13%","crypto":{"network":"base","token":"USDC","address":"0xB2070a4A874E7141E551890a3642bF7B24a1a148"}}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}},{"x402":{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.01"}},"responses":{"200":{"description":"Result","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}},"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}},"/receipt/pdf":{"post":{"operationId":"_receipt_pdf","summary":"Receipt PDF (PAID stamp, tx hash)","description":"Generate a receipt PDF with a PAID stamp, totals, amount paid and balance, plus an on-chain payment record (tx hash, date, explorer link) and the crypto payment details. Same JSON as /invoice/pdf. Returns application/pdf (format=json for base64). Price $0.01 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"number":{"type":"string"},"date":{"type":"string"},"due_date":{"type":"string"},"currency":{"type":"string","description":"USD, CAD, EUR, USDC, ETH..."},"seller":{"type":"object","description":"{name, address, email, phone, tax_id, wallet}"},"buyer":{"type":"object"},"items":{"type":"array","items":{"type":"object"},"description":"[{description, quantity, unit_price, tax_rate?}] up to 200"},"tax_rate":{"type":"number","description":"percent, applied to items without their own tax_rate"},"tax_label":{"type":"string"},"discount":{"type":"string","description":"amount or \"10%\""},"shipping":{"type":"number"},"amount_paid":{"type":"number"},"crypto":{"type":"object","description":"{network: base|ethereum|arbitrum|optimism|polygon|solana|bitcoin, token: USDC|USDT|ETH|BTC, address, amount?, chain_id?, token_address?, decimals?, memo?} adds a pay-with-crypto block + QR (EIP-681 / solana: / bitcoin: URI)"},"paid":{"type":"object","description":"{tx_hash, date, explorer_url}"},"notes":{"type":"string"},"terms":{"type":"string"},"footer":{"type":"string"},"accent":{"type":"string","description":"hex colour"},"page_size":{"type":"string","enum":["letter","a4"]},"format":{"type":"string","enum":["pdf","json"],"description":"json returns base64 + totals"}},"required":["items"]},"example":{"number":"R-1042","date":"2026-11-24","due_date":"2026-12-08","currency":"USDC","seller":{"name":"Acme Labs","email":"billing@acme.example"},"buyer":{"name":"Client Co"},"items":[{"description":"Smart contract audit","quantity":1,"unit_price":2500},{"description":"Gas reimbursement","quantity":3,"unit_price":12.5}],"tax_rate":13,"tax_label":"HST 13%","crypto":{"network":"base","token":"USDC","address":"0xB2070a4A874E7141E551890a3642bF7B24a1a148"},"amount_paid":2867.38,"paid":{"tx_hash":"0x5c50...e1","date":"2026-11-24"}}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}},{"x402":{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.01"}},"responses":{"200":{"description":"Result","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}},"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}},"/crypto/pay-uri":{"post":{"operationId":"_crypto_pay_uri","summary":"Crypto payment request URI + QR (EIP-681, Solana Pay, BIP-21)","description":"Build a wallet-scannable payment request: EIP-681 (ERC-20 transfer with exact base-unit amount, or native value) for Base/Ethereum/Arbitrum/Optimism/Polygon or any chain_id + token_address, Solana Pay (USDC SPL), or BIP-21 bitcoin:. Returns the URI, an SVG QR and the base-unit amount. Price $0.001 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"network":{"type":"string","description":"base (default), ethereum, arbitrum, optimism, polygon, solana, bitcoin"},"token":{"type":"string","description":"USDC (default), USDT, ETH, BTC"},"address":{"type":"string"},"amount":{"type":"string","description":"decimal amount, e.g. \"25.50\""},"chain_id":{"type":"integer"},"token_address":{"type":"string"},"decimals":{"type":"integer"}},"required":["address"]},"example":{"network":"base","token":"USDC","address":"0xB2070a4A874E7141E551890a3642bF7B24a1a148","amount":"25.50"}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}},{"x402":{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}},"/phone/validate":{"post":{"operationId":"_phone_validate","summary":"Phone number validation & formatting (batch 100)","description":"Validate and normalize phone numbers for 240+ regions using Google libphonenumber metadata: valid/possible, E.164, country, calling code, line type (mobile, fixed_line, toll_free, voip, premium_rate...), international/national/RFC 3966 formats, extension. Up to 100 per call for the same price. No carrier or live-line lookup (no HLR); nothing stored. Price $0.001 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"phone":{"type":"string"},"phones":{"type":"array","items":{"type":"string"},"description":"up to 100"},"country":{"type":"string","description":"default region for national-format numbers, ISO-3166 alpha-2 (US, CA, GB...)"}}},"example":{"phones":["+1 416 555 0123","(213) 373-4253","+44 20 7946 0958"],"country":"US"}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}},{"x402":{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}},"/phone/extract":{"post":{"operationId":"_phone_extract","summary":"Find & normalize phone numbers in text","description":"Extract every phone number from free text (emails, pages, OCR output) with positions, validity, E.164, country, line type and formats. Price $0.001 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"up to 100 KB"},"country":{"type":"string"}},"required":["text"]},"example":{"text":"Call +1 (650) 253-0000 or our London office on 020 7946 0958","country":"GB"}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}},{"x402":{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}},"/barcode/svg":{"post":{"operationId":"_barcode_svg","summary":"Barcode generator (EAN/UPC, Code 128, GS1-128, DataMatrix, PDF417, QR, Aztec...)","description":"Render barcodes as crisp SVG with check digits computed and validated: Code 128, EAN-13, EAN-8, UPC-A, UPC-E, Code 39, Code 93, ITF-14, Interleaved 2 of 5, GS1-128, GS1 DataMatrix, Data Matrix, PDF417, QR Code, Aztec, ISBN, ISSN, Codabar, MSI, Pharmacode, POSTNET, GS1 Composite, MaxiCode, DotCode, rMQR, Micro QR. GS1 application identifiers supported ((01)...(17)...). Single code returns image/svg+xml; items[] (up to 20) or format=json returns JSON with SVG strings. Invalid data returns 402 with the reason and is not charged. Price $0.002 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["code128","ean13","ean8","upca","upce","code39","code93","itf14","interleaved2of5","gs1-128","gs1datamatrix","datamatrix","pdf417","qrcode","azteccode","isbn","issn","codabar","msi","pharmacode","postnet","gs1-cc","maxicode","dotcode","rectangularmicroqrcode","microqrcode"]},"text":{"type":"string"},"items":{"type":"array","items":{"type":"object"},"description":"batch: up to 20 {type, text}"},"scale":{"type":"integer","description":"1-8 (default 3)"},"height":{"type":"number","description":"bar height in mm (linear codes)"},"include_text":{"type":"boolean"},"color":{"type":"string"},"bg":{"type":"string"},"rotate":{"type":"string","enum":["N","R","L","I"]},"format":{"type":"string","enum":["svg","json"]}}},"example":{"type":"ean13","text":"590123412345"}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}},{"x402":{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"responses":{"200":{"description":"Result","content":{"image/svg+xml":{"schema":{"type":"string"}},"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}}},"externalDocs":{"description":"Copy-paste examples (CLI, curl, TypeScript, Python, MCP)","url":"https://mpp-biz.fmf-x402.workers.dev/docs"},"components":{"securitySchemes":{"Payment":{"type":"http","scheme":"Payment","description":"MPP Payment credential on Tempo (USDC.e or pathUSD). Clients such as mppx handle the 402 challenge automatically. See https://mpp.dev/sdk"}}},"tags":[{"name":"paid","description":"Pay-per-call MPP routes. Unpaid requests receive 402. Invalid input is not charged."},{"name":"discovery","description":"Free discovery surfaces: /docs, /llms.txt, /openapi.json, /mcp, /health."}]}