Hanzo
OpenapiCompliance

Begins a KYC/KYB verification of a subject through the wired provider — an…

Begins a KYC/KYB verification of a subject through the wired provider — an existing subject by id, or one created inline from the request.

POST /v1/compliance/verifications

Addresshttps://api.hanzo.ai/v1/compliance/verifications
MethodPOST
Operationpost_compliance_verifications
AuthAuthorization: Bearer $HANZO_API_KEY

Begins a KYC/KYB verification of a subject through the wired provider — an existing subject by id, or one created inline from the request. The returned status is provider-reported and never terminal on a fresh start: starting a verification can never yield a verified record, and a provider error is a 502, never a verification.

Request

5 fields, body application/json (required).

FieldInTypeRequiredDescription
emailbodystringEmail is an inline subject's contact email, sealed at rest.
kindbodystringKind is an inline subject's party type: "individual" (KYC) or "business" (KYB).
namebodystringName is an inline subject's name, sealed at rest.
refbodystringRef is the org's own opaque external id for an inline subject.
subjectIdbodystringSubjectID names an existing subject to verify; empty creates one inline.

Response

StatusBodyMeaning
201checkViewcreated

201 body — 10 fields.

FieldInTypeAlwaysDescription
createdAtbodyintegerCreatedAt is the unix second the verification was started.
decidedAtbodyintegerDecidedAt is the unix second a terminal status was recorded.
decidedBybodystringDecidedBy records who settled a terminal status: the provider name, or a reviewer's user id for a recorded manual decision.
idbodystringID is the verification's opaque id.
kindbodystringKind is the party type: "individual" (KYC) or "business" (KYB).
providerbodystringProvider is the verification provider this check runs through.
statusbodystringStatus is the check's state: pending, provider_verified, provider_rejected, manual_review, or expired (provider-reported), or reviewer_confirmed — the one…
subjectIdbodystringSubjectID is the opaque id of the subject under verification.
updatedAtbodyintegerUpdatedAt is the unix second the verification last changed.
verifyUrlbodystringVerifyURL is the provider's hosted verification flow for the subject, when one exists.

Failure carries the platform error shape — see Errors.

Examples

hanzo compliance verifications create

Compliance API · All Hanzo APIs · Interactive reference

How is this guide?

On this page