# checkout-verify Best for: developers who need a single API call to verify Taiwan checkout data — address, unified business number, invoice barcode and donation code, and fraud report snapshot. What one call verifies (POST /v1/verify): - `addr` — Chinese-script Taiwan address resolution (e.g. zip6, confidence level) - `tax` — unified business number (UBN), including name and business status - `invoice` — invoice phone barcode and donation (love) code - `fraud` — 165 fraud report snapshot for a URL, line ID or phone - `debug` — metering details for the call Why it stands out: - Single-call, multi-line verification: four independent verification lines in one request; each field can be sent individually, but at least one must carry a value. - Data misses are not errors: a lookup that finds nothing returns `null` on that line with HTTP 200 — the service never answers 5xx on a data miss, so you don't need retry logic for "not found." - Flat, predictable pricing: every verify call costs exactly 1 credit — per call, not per line and not per hit; misses are charged the same as hits. - Idempotent replays: replaying the same key and `request_id` is not charged twice (`debug.metering.duplicate=true`), while the four lines are recomputed. - Clear status semantics: 200 answered (including not-found), 401 auth (do not retry), 422 only when no verification line is provided, 429 quota exhausted with `Retry-After` and the data lines still present. - Rollover credits: unused credits roll over for 3 months and are consumed oldest bucket first. Plans and allowances: - `start` — 5,000 credits/month - `growth` — 20,000 credits/month - `scale` — 85,000 credits/month - Prices (config constants, TWD): monthly NT$1,490 / NT$2,990 / NT$8,990; annual NT$14,900 / NT$29,900 / NT$89,900 (12 months for the price of 10); 7-day trial. Integration: - Auth: `Authorization: Bearer sk_<43 chars, issued once>` with `Content-Type: application/json`. - Request body fields: `address`, `ubn`, `invoice.{barcode,love_code}`, `fraud.{url,line_id,phone,match_mode}`, plus `request_id` (or `Idempotency-Key` header) for idempotency. - Response keys: `addr`, `tax`, `invoice`, `fraud`, `debug`. - Contract version `0.3.0-w3` (FastAPI); machine-readable OpenAPI 3.1 schema available; agent reference at `/agents`, deployed path `/llms.txt`. The public API edge proxies `POST /v1/verify` and `GET /healthz`. - Quickstart and README documents (Traditional Chinese) cover the five-minute integration path, per-line semantics, data sources, known deviations and red lines. Honest limits, stated plainly: - The `address` line requires Chinese-script Taiwan addresses; romanized or English addresses return nulls on that line with HTTP 200. The other three lines have no such restriction. - `addr.confidence` is a match level (street segment / district / county), not a probability or proof of a doorplate. - `tax.valid_format` is a check-digit result only; `biz_status` = `查無` means absent from the three tax-registry datasets. - `invoice.barcode_format_YN` checks format only; barcode issuance is never verified. - A `fraud` miss is not safety and a hit is not a verdict; there is no risk score, credit score or buyer blacklist in this API. - Donation codes come from a 2,025-entry daily-refreshed snapshot of the official ODS Open API `DonateCodeList`; `love_YN=false` means not in this snapshot, never invalid. Codes keep leading zeros. - Keys are stored only as `sha256(secret)` with a 12-character display prefix — no plaintext key appears in files, tests or logs. - No billing, payments, invoicing or self-service signup is implemented; usage and pricing facts are documented rather than exposed through the public API edge.