Hanzo AI

Create matches

Decides one sanctions match, as a Hanzo platform reviewer.

POST /v1/principal/matches/{id}

Addresshttps://api.hanzo.ai/v1/principal/matches/{id}
MethodPOST
Operationpost_principal_matches_by_id
AuthAuthorization: Bearer $HANZO_API_KEY

Decides one sanctions match, as a Hanzo platform reviewer. SuperAdmin only — an admin of the org the match names is refused, because that would be the org deciding its own case — and the decision is written and put on the audit trail in one transaction: a decision the trail does not take is not made.

cleared records a namesake: the org's names resemble a designated person's and the other identifiers show a different one. It covers the hits the reviewer read, and a later name close to the same person reopens it. confirmed records the designated person itself, and blocks every payment to or from the org whatever it is later called. A decision may be changed only by another decision, with its own note.

Request

4 fields, body application/json (required).

FieldInTypeRequiredDescription
idpathstringyesID is the match, from the path.
decisionbodystring—Decision is cleared (a namesake: the identifiers show a different person) or confirmed (the designated person).
idbodystring—ID is the match, from the path.
notebodystring—Note is the reviewer's reason — which identifiers decided it.

Response

StatusBodyMeaning
200principal.Matchok
defaultproblem-detailsrefused

200 body — 16 fields.

FieldInTypeAlwaysDescription
decidedAtbodyinteger (int64)—DecidedAt is when, unix seconds.
decidedBybodystring—DecidedBy is the reviewer, or "exact designated address".
entrybodystring—Entry is the designated subject's primary name, or the jurisdiction's.
foundAtbodyinteger (int64)—FoundAt is when a screening first found it, unix seconds.
hitsbodyprincipal.Hit[]—Hits are the org's names, addresses and countries that matched, in the order they were first seen.
hits[].kindbodystring—Kind is name (matched fuzzily), address (matched exactly) or jurisdiction.
hits[].rolebodystring—Role is where it came from: entity, founder, form, wallet, or — for a country — citizenship, organization or residence.
hits[].subjectbodystring—Subject is the name, address or country as the org stated it.
idbodystring—ID addresses the match for a reviewer's decision.
listbodystring—List is the publisher — ofac, un, eu or ofsi — or jurisdiction for an embargoed place.
notebodystring—Note is the reviewer's reason.
orgbodystring—Org is the org the match names.
reasonbodystring—Reason is what first matched, and which identifiers agreed or conflicted.
refbodystring—Ref is the entry's reference on that list, or the country code.
scorebodynumber (double)—Score is the highest similarity seen, 0 to 1; an address or a jurisdiction is 1.
statusbodystring—Status is open (a reviewer decides), cleared (a namesake, decided) or confirmed (the designated person, decided — or a designated address).

Failure carries the platform error shape — see Errors.

Examples

hanzo has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


Principal API · All Hanzo APIs · Interactive reference

How is this guide?

On this page