Relaystation logo Relaystation

Recipes · bundle

KYC-then-Sign

Verify the ID, screen the name, get the contract signed — one balance, one provider

The full trust chain for agent-mediated agreements: government-ID verification with liveness and face-match, sanctions (OFAC/EU/UK+UN) and PEP screening, then a legally binding e-signature envelope with ordered routing and live status. Status checks, chasing unsigned recipients, and retrieving the signed copy are free.

Cost per run: $0.16 (verify $0.10 + screen $0.01 + envelope $0.05); screen-only $0.01

Success rate: 4/5 (screening and e-sign are deterministic; ID verification depends on the user's document image quality — retry with a better capture on failure)

Services used

Service Provider Price Category
ID Verify (doc + liveness + face-match) Relaystation $0.10 / verification Identity
Sanctions & PEP Screen Relaystation $0.01 / screen Compliance
E-Sign Envelope (send for signature) Relaystation $0.05 / envelope Signature
Signature status / chase / signed copy Relaystation free Signature ops
Verify signatures on a signed PDF Relaystation $0.001 flat Verification
Parse ID to fields (no verification) Relaystation $0.05 / document Extraction (optional)

Workflow

  1. POST /v1/idverify/verifications — hosted flow verifies the government ID, runs liveness, matches face to ID; poll status until complete
  2. POST /v1/screening/match with the verified legal name — instant JSON verdict against OFAC/EU/UK (+UN) sanctions and PEP watchlists
  3. If both clear: POST /v1/esigndoc/envelopes with the contract PDF (or Word/markdown), signature boxes, and signer order
  4. Check who has signed (free), chase non-signers (free), retrieve the signed PDF (free)
  5. [Optional] $0.001 to verify the signed PDF's digital signatures before archiving; notarize the hash in a Witness baton for a 7-year offline-provable record

Prompt

You are an agent executing a verify-then-sign flow on Relaystation (x402, Base USDC; or an
API key). Order matters: verify identity first, screen second, send for signature only if
both clear. Never skip screening because verification passed — they answer different
questions. On an idverify failure, distinguish document-quality failures (ask the human for
a better capture and retry) from genuine mismatches (stop and report; do not retry to force
a pass). On a screening hit, stop and surface the match details to your operator — do not
adjudicate a sanctions hit yourself. All post-send signature operations (status, reminders,
signed-copy retrieval) are free — poll status rather than re-sending envelopes. Archive the
signed PDF with a $0.001 signature-verify, and for long-lived agreements notarize its hash
in a Witness baton (provable offline, kept 7 years). Each call is one x402 payment.

← All recipes