Know Your Payee · Spec 0.1

Know Your Payee, spec 0.1

Merchants check agents (KYA). Know Your Payee is the other direction: before an agent pays, it checks who it pays. This page fixes what such a check takes and returns, so wallets, agent frameworks and payment networks can ask for it in the same words. Open under CC BY 4.0; Factline's /v1/kyp/check is one implementation.

Input: who is about to be paid

  • x402 or crypto payee: the endpoint URL and the payTo wallet. Checks: the wallet against sanctions lists, the wallet matches what the seller published, real payers vs self-payment, endpoint uptime, domain age.
  • Company: name, country and the IBAN or account. Checks: the company in its official register and active, VAT number, IBAN fits the country, sanctions and PEP on company, directors and owners, a change against the account paid before.
  • Webshop: the shop URL. Checks: domain age, company and VAT number shown on the site, payment methods (prepayment or crypto only), known fake-shop signs.

The agent sends the amount and its owner's limits when it has them; a checker may answer review for a first payment above a limit.

Answer shape (both specs)

{
  "decision": "allow" | "review" | "deny",
  "reasons": ["short, plain sentences, the strongest first"],
  "summary": "one line a person can read",
  "evidence": [{ "source": "register or list name", "retrieved_at": "ISO 8601", "url": "where to check it" }],
  "receipt": { "id": "...", "verify_url": "https://...", "signature": "ed25519 over the answer hash" }
}
  • allow: nothing found against going ahead. review: ask the user or a human first. deny: do not go ahead.
  • A checker must say what it did not check (for example: who holds a bank account), so an allow is never read as more than it is.
  • The receipt is optional at level 1 and required at level 2: it lets the agent's owner prove later what was known when the decision was made.
  • Field names may carry more detail; these five keep their meaning.

Levels

  • Level 1: decision, reasons and summary, with evidence for every fact used.
  • Level 2: level 1 plus a signed receipt that a third party can verify without calling the checker.

When to call it

Before every first payment to a payee, after any change in the payee's account or wallet, and again when a sanctions list changes. Cache an allow for the same payee and account for at most 24 hours.

Version 0.1, 2 Nov 2026. Comments: hello@factline.dev. See also Know Your Tool.