KYCCentral.Jobs (KYC Central v0.9.0)

Copy Markdown View Source

Poll background jobs started by the API.

You rarely need this directly — KYCCentral.KYC.assess/3 polls for you.

Summary

Functions

Current state of a job: %{"job_id" => ..., "status" => ..., "result" => ...}.

Functions

get(client, job_id)

@spec get(KYCCentral.t(), String.t()) :: {:ok, map()} | {:error, KYCCentral.Error.t()}

Current state of a job: %{"job_id" => ..., "status" => ..., "result" => ...}.

status is one of "queued", "running", "done" or "error".