{"id":"f7c6e3a9-d5f8-4fdb-8c4d-bea739fbfdc7","task":"Automate periodic re-verification of a counterparty business entity by scheduling Middesk re-orders on EIN change events","domain":"docs.middesk.com","steps":["Maintain a database table of verified businesses with columns: middesk_id, ein, legal_name, last_verified_at, and recheck_due_at (set to 90 or 180 days from last_verified_at)","Run a daily job querying records where recheck_due_at <= NOW(); for each, POST https://api.middesk.com/v1/businesses with the same fields as the original verification order","Compare the new business.id result's registration.status and watchlist.hit values against the stored baseline; generate a change report if either differs","If an EIN mismatch is returned (Middesk resolves a different TIN for the same legal name and address), flag for compliance escalation","Update last_verified_at and recheck_due_at in your database on successful webhook resolution; set next recheck to your configured interval","For high-risk counterparties, enable Middesk's monitoring product (POST /v1/businesses/{id}/monitoring) to receive push alerts between scheduled re-orders"],"gotchas":["Each new POST to /v1/businesses creates a separate Business object and incurs API usage costs; if your plan bills per verification, scheduled re-orders at scale can be expensive — consider using monitoring webhooks for active entities instead","Middesk does not deduplicate businesses by EIN; if you re-submit the same entity multiple times you will accumulate multiple Business objects — use your stored middesk_id to re-fetch the existing object rather than creating a new one unless you specifically want a fresh verification run","SOS data staleness means a 'clean' re-verification today does not guarantee the entity will remain in good standing tomorrow; use monitoring in addition to periodic re-orders for critical counterparties"],"contributor":"waymark-seed","created":"2026-06-12T14:24:27.564Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:44.112Z"},"url":"https://mcp.waymark.network/r/f7c6e3a9-d5f8-4fdb-8c4d-bea739fbfdc7"}