{"openapi":"3.0.0","info":{"title":"Identity Verification API v2","version":"2","description":"Identity Verification API v2.\n\nThis API uses API-level versioning. Workflow endpoints are under `/v2/workflows/`.\n\nThe ReadMe documentation version is independent of this API version. This reference is published on the ReadMe 2.0 documentation version. That version is the documentation set. It is not a version of the AML API or the QES API.\n\n**Authentication:** [Create access token](ref:create-access-token) is documented in the Fourthline APIs reference. The AML API and the QES API use the same access token. Send it as `Authorization: Bearer <access_token>`.\n\nThe AML API and the QES API are separate references. They use endpoint-level versioning.\n\n**JSON property names** use **camelCase** (for example `workflowId`, `clientId`, `problemDetails`, `transferData`).\n\n**Product keys** use PascalCase **string values**, not property names: `IdentityVerification`, `Payments` (Bank Account Verification), `Signatures` (Qualified Electronic Signature). The same keys appear in [Get workflow status](ref:get-workflow-status), reports, and [Identity Verification Webhooks v2](ref:workflows-webhooks).\n\n**Other conventions:** [Create access token](ref:create-access-token) request and response fields use OAuth **snake_case** (`grant_type`, `access_token`). Document `type` values and `rawVizReading[].fieldName` identifiers use PascalCase strings (for example `SelfieImage`, `FirstName`).\n\n**Error responses:** The JSON error shape depends on the endpoint.\n\n**ProblemDetails** — top-level `type`, `title`, `status`, and `detail` (no `problemDetails` wrapper).\n\n`validationProblemDetails` — extends `problemDetails` with an `errors` object: keys are property or rule names; values are arrays of error message strings.\n\n`validationProblemDetails` is returned on `400` from:\n- [Upload or update client data](ref:upload-client-data) (`PATCH`)\n- [Upload client document](ref:upload-client-document) (`POST`)\n- [Upload ID document metadata](ref:upload-identity-document-metadata) (`POST`)\n\nOther conventions:\n- **Workflow** endpoints that still wrap errors: a `problemDetails` object with `title`, `status`, `detail`, and `traceId` (for example [Get workflow status](ref:get-workflow-status), [Upload multiple client documents](ref:upload-client-documents-bulk) non-`400` responses).\n- **[Create workflow](ref:create-workflow)** `400`: ValidationProblemDetails; `404`: ProblemDetails.\n- **[Get report as ZIP](ref:get-report-zipfile)** errors: plain-text `404` bodies; `500` with an empty response body.\n- **[Create SDK session](ref:create-sdk-session)** validation failures: `message`, `code`, and `errors[]` (each item has `code`, `property`, `message`).\n- **Qualified Electronic Signature** endpoints: top-level `title`, `status`, `detail`, and `traceId` (no `problemDetails` wrapper).\n- **[Create access token](ref:create-access-token)** OAuth errors: `error` and `error_description`.\n"},"servers":[{"url":"https://api.ext-sandbox.fourthline.com","description":"Main API host. The JSON workflow report is served at **`/v2/workflows/{workflowId}/report/json`** on this host.\n"}],"tags":[{"name":"Workflow Setup","description":"Create Identity Verification API v2 workflows and SDK sessions."},{"name":"Client Data & Documents","description":"Upload client data and documents for an Identity Verification API v2 workflow."},{"name":"Test Outcome","description":"Configure a Sandbox outcome for an Identity Verification API v2 workflow."},{"name":"Workflow Execution","description":"Start an Identity Verification API v2 workflow."},{"name":"Statuses","description":"Identity Verification API v2 workflow and product status."},{"name":"Reports","description":"Download Identity Verification API v2 reports (JSON, ZIP, PDF, XML)."}],"components":{"parameters":{"authorization":{"name":"Authorization","in":"header","required":true,"description":"The `access_token` returned in your most recent [Create access token](ref:create-access-token) response.","schema":{"type":"string","default":"Bearer <access_token>"}},"cacheControl":{"name":"Cache-Control","in":"header","required":false,"description":"To have the response validated by the origin server instead of reusing stored content, we strongly recommend including this parameter and setting it to `no-cache`.","schema":{"type":"string","default":"no-cache"}}},"schemas":{"ProblemDetails":{"type":"object","description":"Top-level error body with `type`, `title`, `status`, and `detail`. Returned at the JSON root (no `problemDetails` wrapper).\n","properties":{"type":{"type":"string","format":"uri","description":"A URI reference that identifies the problem type."},"title":{"type":"string","description":"A short, human-readable summary of the problem type."},"status":{"type":"integer","description":"The HTTP status code."},"detail":{"type":"string","description":"A human-readable explanation specific to this occurrence."}}},"ValidationProblemDetails":{"type":"object","description":"Extends `problemDetails` with an `errors` object for request validation failures. Keys are property or rule names; values are arrays of error message strings.\n","properties":{"type":{"type":"string","format":"uri","description":"A URI reference that identifies the problem type."},"title":{"type":"string","description":"A short, human-readable summary of the problem type."},"status":{"type":"integer","description":"The HTTP status code."},"detail":{"type":"string","description":"A human-readable explanation specific to this occurrence. May be omitted when `errors` is present."},"errors":{"type":"object","description":"Field- or rule-level validation errors.","additionalProperties":{"type":"array","items":{"type":"string"}}}}},"flowVariant":{"type":"string","description":"Returned when the workflow offers both eID and verification with a physical ID document. When the workflow does not offer both, the property is absent. <br /><br />Enum: <br />• `eIDVerification`: the client completed eID <br />• `DocumentVerification`: the client completed verification with a physical ID document","enum":["eIDVerification","DocumentVerification"]},"WorkflowJsonReport":{"type":"object","description":"JSON workflow report. Request the report by `workflowId` in the path only.","properties":{"tenant":{"type":"string","nullable":true,"description":"Fourthline tenant identifier for the workflow, when present. <br /><br />Example: `QA`"},"workflowId":{"type":"string","format":"uuid","description":"The unique identifier of the workflow (same value as in the path)."},"workflow":{"type":"string","nullable":true,"description":"Configured workflow name, when present."},"workflowStatus":{"type":"string","nullable":true,"description":"Overall workflow status (for example `completed`, `pending`, `failed`)."},"flowVariant":{"$ref":"#/components/schemas/flowVariant"},"clientId":{"type":"string","format":"uuid","nullable":true,"description":"Fourthline client identifier, when present."},"products":{"type":"array","description":"One block per product in the workflow (`IdentityVerification`, `Payments`, `Signatures`). Fields on each item depend on `name`.","items":{"$ref":"#/components/schemas/WorkflowJsonReportProduct"}},"receivedData":{"$ref":"#/components/schemas/WorkflowJsonReceivedData"},"sla":{"$ref":"#/components/schemas/WorkflowJsonSla"},"risk":{"$ref":"#/components/schemas/WorkflowJsonRisk"},"statusMessages":{"type":"array","description":"Workflow-level validation or compliance messages (for example sanctions or watchlist checks).","items":{"$ref":"#/components/schemas/WorkflowJsonStatusMessage"}}}},"WorkflowJsonIdentityData":{"type":"object","description":"Identity Verification — normalized identity data (`products[].name` is `IdentityVerification`).","properties":{"personalData":{"type":"object","additionalProperties":true,"description":"Client personal fields (for example `firstName`, `lastName`, `birthDate`, `nationality`, `gender`). `gender` is a string: `Male`, `Female`, `Unknown`, or `Other`."},"address":{"type":"object","additionalProperties":true,"description":"Normalized postal address (for example `streetName`, `city`, `country`, `postalCode`)."},"contactDetails":{"type":"object","additionalProperties":true,"description":"Contact information (for example `email`, `mobile`)."},"tax":{"type":"object","description":"Tax data for the client.\n\nThe object is populated when tax collection is enabled for the workflow and a value was supplied or corrected during review. App Drop-in and Web SDK capture tax when the [Tax Number](https://docs.fourthline.com/v2.0/docs/documents#tax-number) module is enabled. For API-only and App Components, send `identityData.tax` on [Upload client data](ref:upload-client-data).\n\nWhen tax was not collected, this property is usually still present as an empty object: `{}`.\n\nReview can fill or correct `tin`. When the client provides a TIN document outside the configured regulatory scope, the report does not include the TIN.\n\n[Upload client data](ref:upload-client-data) accepts `usPerson` as the boolean `true` or `false`. This report often returns `usPerson` as the string `yes` or `no`. Consumers of Get report as JSON should use the value in this response.\n","properties":{"countrySubjectToTaxation":{"type":"string","description":"The country where the client is subject to taxation. <br /><br />Format: ISO 3166-1 alpha-3, uppercase <br /><br />Example: `ESP`"},"tin":{"type":"string","description":"The client’s tax identification number. The value can also be `N/A` when a value exists and Fourthline cannot verify it, `[NOT PROVIDED]` when nothing was inputted or extracted, or an empty string when the value is not available. <br /><br />Example: `999999999`"},"usPerson":{"type":"string","description":"Whether the client is a U.S. person. Report payloads often use the string `yes` or `no`. Use the value returned in this report. <br /><br />Example: `no`"},"usTin":{"type":"string","description":"The client’s U.S. tax identification number, when present. <br /><br />Format: `123-45-6789`"}}},"deviceMetaData":{"type":"object","additionalProperties":true,"description":"Device and session metadata from capture (for example `model`, `ipAddress`, `sdkVersion`, `analyticsID`)."}}},"WorkflowJsonReportProduct":{"type":"object","description":"One product block. Fields depend on `name` (`IdentityVerification`, `Payments`, or `Signatures`).","properties":{"name":{"type":"string","description":"Product key (PascalCase string value).","enum":["IdentityVerification","Payments","Signatures"]},"productStatus":{"type":"string","nullable":true,"description":"Status for this product (for example `completed`, `signed`)."},"lastModified":{"type":"string","format":"date-time","nullable":true,"description":"When this product block was last updated. <br /><br />Format: ISO 8601 UTC date and time"},"identityData":{"$ref":"#/components/schemas/WorkflowJsonIdentityData"},"identityDocumentData":{"type":"object","additionalProperties":true,"description":"Identity Verification — document extraction (numbers, dates, type, issuing country). `documentType` is a string (for example `Passport`, `NationalIDCard`, `DrivingLicense`)."},"rawVizReading":{"type":"array","items":{"type":"object","properties":{"fieldName":{"type":"string","description":"MRZ or VIZ field identifier (PascalCase string value, for example `FirstName`, `DocumentNumber`)."},"fieldValue":{"type":"string","description":"Extracted value for the field."}}}},"additionalPlaceOfBirth":{"type":"string","nullable":true,"description":"Additional place of birth, when extracted or provided."},"otherLastName":{"type":"string","nullable":true,"description":"Additional or former last name, when present."},"documentIssuingCountry":{"type":"string","nullable":true,"description":"Issuing country for the ID document, when applicable."},"proofOfAddress":{"type":"object","additionalProperties":true,"description":"Proof-of-address data when the workflow includes address verification."},"transferData":{"type":"object","additionalProperties":true,"description":"Payments (`Payments`) — IBAN, name, transfer reference, currency, amountRequested, etc."},"messages":{"type":"array","description":"Status messages for `Payments` or `Signatures`. Signatures messages may include `attemptId`.","items":{"$ref":"#/components/schemas/WorkflowJsonProductMessage"}},"documentsToSign":{"type":"array","description":"QES — documents to sign for this product","items":{"$ref":"#/components/schemas/WorkflowJsonSignatureDocument"}},"signedDocuments":{"type":"array","description":"QES — signed documents for this product","items":{"$ref":"#/components/schemas/WorkflowJsonSignatureDocument"}}}},"WorkflowJsonProductMessage":{"type":"object","description":"Status or error message for a product in the JSON workflow report","properties":{"statusCode":{"type":"integer","description":"The numeric status code for this message"},"description":{"type":"string","nullable":true,"description":"A human-readable description of the message"},"attemptId":{"type":"string","format":"uuid","nullable":true,"description":"The identifier of the related authorization or confirmation attempt, when present. <br /><br />Format: uuid"}}},"WorkflowJsonSignatureDocument":{"type":"object","description":"A document to sign or signed document entry in the JSON workflow report","properties":{"documentId":{"type":"string","format":"uuid","description":"The unique identifier of the document. <br /><br />Format: uuid <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0`"},"signatureId":{"type":"string","format":"uuid","description":"The unique identifier of the signature workflow. <br /><br />Format: uuid <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0`"},"displayName":{"type":"string","description":"The filename to display to the client in your user interface"},"fileName":{"type":"string","description":"The filename of the document to sign or signed document"},"contentType":{"type":"string","description":"The MIME type of the document (for example `application/pdf`)"},"location":{"type":"string","format":"uri","description":"The URL where the document is stored, when returned"},"hash":{"type":"string","description":"The content hash of the document, when present"}}},"WorkflowJsonReceivedData":{"type":"object","description":"Files and identity payloads as submitted by the client, before normalization into `products[]`.","properties":{"files":{"type":"array","description":"Uploaded files with metadata (`type`, `fileName`, `geolocation`, `documentId`, `side`, `rotationType`, etc.).","items":{"type":"object","additionalProperties":true,"description":"One uploaded file entry. See response examples for typical fields per `type`."}},"receivedIdentityData":{"type":"object","additionalProperties":true,"description":"Identity data as initially entered by the client, before any validation, or normalization takes place. The structure is similar to `identityData` on the Identity Verification product."},"receivedIdentityDocumentData":{"type":"object","additionalProperties":true,"description":"Document data as received. May include `nfcDataGroups[]` (`nfcDataGroupNumber`, `nfcData`) and `sdkAuthenticationChecks` when NFC is used."}}},"WorkflowJsonSla":{"type":"object","description":"Service-level agreement timing for the workflow, when calculated.","properties":{"receivedDate":{"type":"string","format":"date-time","description":"When KYC data was received and the SLA clock started."},"slaStart":{"type":"string","format":"date-time","description":"When automatic validations started after successful data intake."},"slaEnd":{"type":"string","format":"date-time","description":"When the workflow reached a terminal processing state for SLA measurement."},"withinSla":{"type":"boolean","description":"Whether processing completed within the agreed SLA bucket."}}},"WorkflowJsonRisk":{"type":"object","description":"Overall risk assessment outcome for the workflow, when present.","properties":{"conclusion":{"type":"string","nullable":true,"description":"Risk conclusion label (for example `Low`, `Unacceptable`)."},"statusCode":{"type":"integer","nullable":true,"description":"Numeric risk or outcome code (for example `200` low risk, `500` unacceptable)."},"description":{"type":"string","nullable":true,"description":"Human-readable summary of the risk outcome."},"result":{"type":"string","nullable":true,"description":"High-level processing result (for example `completed`)."},"processResult":{"type":"string","nullable":true,"description":"Processing decision (for example `success`, `reject`)."}}},"WorkflowJsonStatusMessage":{"type":"object","description":"Workflow-level status or check messages (for example sanctions hits).","properties":{"statusCode":{"type":"integer","description":"Numeric status code for this message (for example `200`, `4110`)."},"description":{"type":"string","nullable":true,"description":"Human-readable description of the check or outcome."},"areaOfAttention":{"type":"string","nullable":true,"description":"Optional hint indicating which data area requires attention."},"checkId":{"type":"string","nullable":true,"description":"The unique identifier of the check that produced a result or message. For sanctions and PEP checks, a single verification can produce multiple matches. Each match has a unique checkId with a zero-based index appended, for example `fullNameSanction0`, `fullNameSanction1`, and `fullNameSanction2`."}}},"ClientDocumentSignatureAppearance":{"type":"object","description":"Controls how and where the signature appears on a document to sign. Used with `DocumentToSign`.","required":["visibleSignature"],"properties":{"visibleSignature":{"type":"boolean","description":"Indicates whether the signature is visible on the document."},"location":{"type":"object","description":"The position of the signature on the signed document in PDF units. If provided, `x` and `y` are required.","required":["x","y"],"properties":{"x":{"type":"number","format":"double","description":"The x axis of the signature position in PDF units."},"y":{"type":"number","format":"double","description":"The y axis of the signature position in PDF units."}}},"size":{"type":"object","description":"The size of the signature on the signed document in PDF units. If provided, `width` and `height` are required.","required":["width","height"],"properties":{"width":{"type":"number","format":"double","description":"The width of the signature in PDF units."},"height":{"type":"number","format":"double","description":"The height of the signature in PDF units."}}},"pageNumber":{"type":"integer","description":"The page of the signed document to display the signature on."}}},"ClientDocumentBulkMetadata":{"type":"object","description":"The bulk upload metadata. In the multipart request, pass this object as a **JSON string** in the `bulkMetadata` form field.\n\nInclude one metadata entry in `items` per file in the `files` collection. The number of entries in `items` must equal the number of file parts (minimum 1, maximum 6 per request).\n\nEach entry uses the same fields as [Upload client document](ref:upload-client-document) metadata (`type`, `id`, and any type-specific fields).\n","required":["items"],"properties":{"items":{"type":"array","minItems":1,"maxItems":6,"description":"The metadata entries paired with the uploaded files. Must contain the same number of items as `files` in the multipart request (1–6).","items":{"type":"object","required":["type","id"],"properties":{"type":{"type":"string","description":"The document type. Same supported values as single-document upload."},"id":{"type":"string","format":"uuid","description":"The unique identifier of the file metadata entry. Different images of the same physical document have different `id` values but share the same `documentId`."}},"additionalProperties":true}}}},"SdkAuthenticationCheck":{"type":"object","description":"The result of a single NFC chip security check performed by the Fourthline SDK during document capture.","properties":{"performed":{"type":"boolean","description":"Whether this check was executed during the NFC read. `false` if the check was skipped (for example, not required for the document type)."},"passed":{"type":"boolean","description":"Whether this check completed successfully. `false` when the check ran but failed validation."},"timestamp":{"type":"string","description":"When the check was performed. <br /><br />Format: ISO 8601 UTC date and time <br /><br />Example: `2025-12-30T10:00:00Z`"},"errorCode":{"type":"string","nullable":true,"description":"A machine-readable error code when `passed` is `false`. Omitted when the check passed or was not performed."},"errorMessage":{"type":"string","nullable":true,"description":"A human-readable explanation when `passed` is `false`. Omitted when the check passed or was not performed."}}},"SdkAuthenticationChecks":{"type":"object","description":"The NFC chip authentication checks from the Fourthline SDK. Provide this object when enriching an uploaded document with metadata after an NFC capture. <br /><br />Requirements: All fields are optional - include only the checks your integration performed.","properties":{"activeAuthentication":{"description":"The Active Authentication (AA) check. Confirms the chip is genuine using a challenge–response with the chip’s private key, helping detect cloned or copied documents.","allOf":[{"$ref":"#/components/schemas/SdkAuthenticationCheck"}]},"chipAuthentication":{"description":"The Chip Authentication (CA) check. Verifies the chip’s public key against the issuing country’s certificate chain, confirming the chip was signed by a trusted authority.","allOf":[{"$ref":"#/components/schemas/SdkAuthenticationCheck"}]},"bacOrBap":{"description":"The Basic Access Control (BAC) or Basic Access Protection (BAP) check. Reports whether the secure session to read the chip was established using data derived from the MRZ or Card Access Number (CAN).","allOf":[{"$ref":"#/components/schemas/SdkAuthenticationCheck"}]},"pace":{"description":"The Password Authenticated Connection Establishment (PACE) check. Reports whether the chip session was opened using PACE (common on newer ePassports and ID cards that support CAN-based access instead of BAC).","allOf":[{"$ref":"#/components/schemas/SdkAuthenticationCheck"}]}}},"NfcDataGroup":{"type":"object","description":"One data group read from the NFC chip during document capture.","properties":{"nfcDataGroupNumber":{"type":"string","description":"The data group number extracted from the NFC chip."},"nfcData":{"type":"string","description":"The document data extracted from the NFC chip."}}},"IdentityDocumentMetadata":{"type":"object","description":"The ID document metadata (for example <Glosary>MRZ</Glosary> or <Glosary>NFC</Glosary>-related fields) for a document already associated with a `documentId` in the workflow.","properties":{"documentId":{"type":"string","format":"uuid","description":"The unique identifier of the physical ID document. <br /><br /> Requirements: Must match the `documentId` path parameter. <br /><br />Format: uuid <br /><br />Example: `5c7d8d2b-5dca-4214-aa87-20031889a363`"},"documentNumber":{"type":"string","description":"The number on the physical ID document. <br /><br />Requirements: When uploading `IdentityDocumentMetadata`. Otherwise optional. <br /><br />Example: `SPECI2014`"},"documentType":{"type":"string","description":"The specific type or category of the ID document. <br /><br />Enum: <br />• `Passport` <br />• `NationalIDCard` <br />• `HealthInsuranceCard` <br />• `DrivingLicense` <br />• `StudentIDCard` <br />• `PaperID` <br />• `ResidencePermit` <br />• `IbanStatement` <br />• `TinReferenceDocument`","enum":["Passport","NationalIDCard","HealthInsuranceCard","DrivingLicense","StudentIDCard","PaperID","ResidencePermit","IbanStatement","TinReferenceDocument"]},"issuingCountry":{"type":"string","description":"The country that issued the document. <br /><br />Format: ISO 3166-1 alpha-3 <br /><br />Example: `NLD`"},"expirationDate":{"type":"string","description":"The document expiration date. <br /><br />Format: `yyyy-mm-dd` <br /><br />Example: `2030-11-15`"},"issueDate":{"type":"string","description":"The document issue date. <br /><br />Format: `yyyy-mm-dd` <br /><br />Example: `2021-01-01`"},"isPrimaryDocument":{"type":"boolean","description":"Whether this is the client’s primary ID document."},"nfcDataGroups":{"type":"array","description":"The NFC data groups read from the document chip. Each entry contains the data group number and the extracted chip data (for example, DG1 MRZ, DG2 portrait).","items":{"$ref":"#/components/schemas/NfcDataGroup"}},"sdkAuthenticationChecks":{"description":"The cryptographic authentication checks performed during the NFC read. See `SdkAuthenticationChecks` for supported check types.","allOf":[{"$ref":"#/components/schemas/SdkAuthenticationChecks"}]}}},"WorkflowStatusMessage":{"type":"object","description":"A validation or lifecycle message for a product in the workflow.","properties":{"description":{"type":"string","description":"Human-readable description of the validation or result."},"statusCode":{"type":"integer","description":"Numeric status code."},"areaOfAttention":{"type":"string","nullable":true,"description":"Optional area that requires attention."},"attemptId":{"type":"string","format":"uuid","nullable":true,"description":"Optional identifier for a signature-related attempt."}}},"WorkflowStatusProduct":{"type":"object","description":"Status block for one product domain in the workflow. Currently one product domain per workflow; this may be extended in the future.","properties":{"name":{"type":"string","description":"Product key (PascalCase string value). <br />Enum: `IdentityVerification`, `Payments`, `Signatures`","enum":["IdentityVerification","Payments","Signatures"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/WorkflowStatusMessage"}},"status":{"type":"string","description":"Product-specific status. See [Product statuses](https://docs.fourthline.com/v2.0/docs/product-statuses). <br /><br />For Identity Verification, `timed_out` means the workflow was not started within three days after it was created or was started but not completed within seven days after it was started.","enum":["new","pending","pending_verification","success","user_consent_required","selfie_required","kyc_required","confirmation_required","signed","invalid_signature","invalid_data","inconsistent_data","rejected","fraud","completed","failed","error","timed_out"]},"timestamp":{"type":"string","format":"date-time","description":"When this product status was last updated."},"transferData":{"type":"object","description":"Payment transfer details. Returned only when the payment is successful.","additionalProperties":true,"properties":{"iban":{"type":"string","description":"The IBAN received in the transfer."},"name":{"type":"string","description":"The accountholder name received in the transfer."},"transferReference":{"type":"string","description":"The unique reference of the transfer."},"currency":{"type":"string","description":"The currency of the transfer."}}}}}}},"paths":{"/v2/workflows":{"post":{"summary":"Create workflow","description":"\nUse this endpoint to create a workflow that combines multiple Fourthline products into a single onboarding flow. <br /><br /> <img src=\"https://files.readme.io/ad2486a-Inline_Note.svg\" align=\"left\" alt=\"Note\" /> **Note:** Specify either `partnerClientId` or `clientId`. Do not provide both parameters in the same request.\n","operationId":"create-workflow","tags":["Workflow Setup"],"parameters":[{"$ref":"#/components/parameters/authorization"},{"$ref":"#/components/parameters/cacheControl"}],"requestBody":{"required":true,"content":{"application/json":{"examples":{"Create workflow":{"summary":"Create workflow","value":{"workflow":"UK_KYC_v2","clientId":"baa2bf19-5258-47ec-b428-276d3f045820"}}},"schema":{"type":"object","required":["workflow"],"properties":{"workflow":{"type":"string","description":"The name of the workflow configuration to run. <br /> <br />Format: Must be unique and contain only letters, numbers, underscores (`_`). Maximum length: 128 characters. <br /> <br />Example: `UK_KYC_v2` <br />\n<img src=\"https://files.readme.io/ad2486a-Inline_Note.svg\" align=\"left\" alt=\"Note\" /> **Note:** Once set, the workflow name **cannot** be changed."},"partnerClientId":{"type":"string","description":"Your unique identifier for the client. Once assigned, use the same `partnerClientId` for that client (natural person) across all workflows. <br /><br /> Reusing the same identifier helps prevent duplicate client records. <br /><br />Format: We recommend a uuid-style string <br /><br /><img src=\"https://files.readme.io/8eb9022-Inline_Tip.svg\" align=\"left\"/> **Tip:** Provide either `partnerClientId` or `clientId` — not both."},"clientId":{"type":"string","format":"uuid","description":"Fourthline identifier for the client. <br /> Use the `clientId` when using Authentication products, as the reference workflow is selected based on this value. <br /><br />  <img src=\"https://files.readme.io/8eb9022-Inline_Tip.svg\" align=\"left\"/> **Tip**: Provide either `partnerClientId` or `clientId` — not both."}}}}}},"responses":{"201":{"description":"Workflow created","content":{"application/json":{"examples":{"created":{"summary":"Created","value":{"workflowId":"3a3f90d8-019b-4001-98f8-c54848d07827","clientId":"baa2bf19-5258-47ec-b428-276d3f045820"}}},"schema":{"type":"object","properties":{"workflowId":{"type":"string","description":"The unique identifier of the workflow. <br /><br />Format: uuid <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0`"},"clientId":{"type":"string","description":"The unique client id assigned to the client by Fourthline in the [Create workflow](ref:create-workflow) response. <br /><br />Format: uuid <br /><br />Example: `baa2bf19-5258-47ec-b428-276d3f045820`"}}}}}},"400":{"description":"Bad Request (request validation). Returned when the request body fails validation. \n","content":{"application/json":{"examples":{"validation_failed":{"summary":"Request validation failed","value":{"type":"https://tools.ietf.org/html/rfc7231#section-6.5.1","title":"One or more validation errors occurred.","status":400,"errors":{"PartnerClientId":["Only partnerClientId or clientId needs to be supplied."],"ClientId":["Only partnerClientId or clientId needs to be supplied."],"Workflow":["'Workflow' must not be empty."]}}}},"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}},"404":{"description":"Returned when the requested workflow definition is not configured, or when neither `clientId` nor `partnerClientId` can be resolved to an existing client.\n","content":{"application/json":{"examples":{"workflow_not_found":{"summary":"Workflow not found","value":{"type":"https://tools.ietf.org/html/rfc7231#section-6.5.4","title":"Not Found","status":404,"detail":"Workflow not found. Please contact Fourthline if this error is unexpected."}},"client_id_not_found":{"summary":"ClientId not found","value":{"type":"https://tools.ietf.org/html/rfc7231#section-6.5.4","title":"Not Found","status":404,"detail":"ClientId not found."}}},"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/v2/workflows/{workflowId}/validationcode":{"post":{"summary":"Create SDK session","description":"Use this endpoint to create an App Drop-in or Web SDK session for a workflow. <br /><br /><img src=\"https://files.readme.io/310d4d3-Inline_Caution.svg\" align=\"left\"/>**Important**: <br /><br /> • SDK validation codes are single use and expire after <strong>2 hours</strong>. <br />• If the client stops in the middle of the workflow, you need to create a new SDK session. <br />• When the client closes the app or browser, the `validationCode` is invalidated and cleared from the cache.","operationId":"create-sdk-session","tags":["Workflow Setup"],"parameters":[{"name":"workflowId","in":"path","required":true,"description":"The unique identifier of the workflow. <br /><br />Format: uuid <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0`","schema":{"type":"string"}},{"$ref":"#/components/parameters/authorization"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["target"],"properties":{"target":{"type":"string","description":"The type of SDK session. <br />Enum: <br />• `Mobile`: App Drop-in session <br />• `Web`: Web SDK session.","enum":["Mobile","Web"]}}}}}},"responses":{"200":{"description":"Validation code returned","content":{"application/json":{"examples":{"ok":{"summary":"OK","value":{"validationCode":"ABCD9999","expiryDateTime":"2025-04-30T15:52:47.6706559+00:00"}}},"schema":{"type":"object","properties":{"validationCode":{"type":"string","description":"The single-use validation code to link the SDK session to the workflow. <br /><br />Format: Alphanumerical string of 8 characters"},"expiryDateTime":{"type":"string","description":"The timestamp for when the validation code expires (**2 hours** after creation). <br /><br />Format: ISO 8601 UTC date and time","format":"date-time"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"examples":{"bad_request":{"summary":"Bad Request","value":{"message":"Request model validation error.","code":"400","errors":[{"code":"400","property":"target","message":"Please specify a valid target"}]}}},"schema":{"type":"object","properties":{"message":{"description":"The error message.","type":"string"},"code":{"description":"The general error code.","type":"string"},"errors":{"description":"Information about the specific error.","type":"array","items":{"type":"object","properties":{"code":{"description":"The specific error code.","type":"string"},"property":{"description":"The property that threw the error.","type":"string"},"message":{"description":"The description of the error thrown by the property.","type":"string"}}}}}}}}},"401":{"description":"Invalid or expired access token","content":{"application/json":{"examples":{"unauthorized":{"summary":"Unauthorized","value":{"error":"invalid_token","error_description":"The access token is invalid or has expired"}}},"schema":{"type":"object","properties":{"error":{"description":"A machine-readable code that identifies the type of error. <br /><br />Example: `invalid_token`","type":"string"},"error_description":{"description":"A human-readable message that explains the error in more detail. <br /><br />Example: `The access token is invalid or has expired`","type":"string"}}}}}},"404":{"description":"Resource not found","content":{"application/json":{"examples":{"not_found":{"summary":"Not Found","value":{"type":"https://tools.ietf.org/html/rfc7231#section-6.5.4","title":"Not Found","status":404}}},"schema":{"type":"object","properties":{"title":{"description":"The error type.","type":"string"},"status":{"description":"The HTTP status code.","type":"integer"}}}}}},"500":{"description":"Unexpected server error","content":{"application/json":{"examples":{"server_error":{"summary":"Internal Server Error","value":{"type":"https://tools.ietf.org/html/rfc7231#section-6.6.1","title":"Internal Server Error","status":500,"detail":"Failed to create API credentials for a6b18d1e-bc3b-4a63-b987-3b3fa0b109b3"}}},"schema":{"type":"object","properties":{"title":{"description":"The error type.","type":"string"},"status":{"description":"The HTTP status code.","type":"integer"},"detail":{"description":"The error message.","type":"string"}}}}}}}}},"/v2/workflows/{workflowId}/clients/{clientId}":{"patch":{"summary":"Upload or update client data","description":"\nUse this endpoint to upload or update identity data for a client in an existing workflow.\n\nFor **Document Authentication** workflows, the following options are available:\n\n* Use an existing client with a previously completed Identity Verification workflow. Fourthline reuses the existing client data.\n\n* Upload previous client data directly. For this option, call this endpoint with a `referenceDocumentData` payload before uploading the new ID document.\n\n<img src=\"https://files.readme.io/ad2486a-Inline_Note.svg\" align=\"left\" alt=\"Note\" /> **Note:** This endpoint is not required for **Biometric Authentication** workflows.\n\nFor error responses, inspect the response body for additional details:\n\n* `400` Bad Request returns a `validationProblemDetails` object, including an `errors` property that maps request fields to validation error messages. <br />\n* All other error responses return a `problemDetails` object containing type, title, status, and detail. <br />\n","operationId":"upload-client-data","tags":["Client Data & Documents"],"parameters":[{"$ref":"#/components/parameters/authorization"},{"$ref":"#/components/parameters/cacheControl"},{"name":"workflowId","in":"path","required":true,"description":"The unique identifier of the workflow. <br /><br />Format: uuid <br /><br />Example: `3a3f90d8-019b-4001-98f8-c54848d07827`","schema":{"type":"string"}},{"name":"clientId","in":"path","required":true,"description":"The unique client id for the client whose data you are updating, from the [Create workflow](ref:create-workflow) response. <br /><br />Format: uuid <br /><br />Example: `baa2bf19-5258-47ec-b428-276d3f045820`","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"examples":{"Upload client data":{"summary":"Upload client data request","value":{"partnerClientId":"64731fdb-0651-4040-a565-9ea4113e6130","identityData":{"type":"IdentityData","personalData":{"firstName":"John","middleName":"James","lastName":"Smith","otherLastName":"","gender":"Male","placeOfBirth":"BARCELONA","countryOfBirth":"ESP","birthDate":"1992-02-06","nationality":"ESP"},"address":{"streetName":"Carrer de la Ciutat de Granada","streetNumber":150,"city":"Barcelona","country":"ESP","postalCode":"08018"},"contactDetails":{"email":"j.smith@example.com","phone":"+34 612345678","mobile":"+34 12312312"},"tax":{"countrySubjectToTaxation":"ESP","tin":"999999999","usPerson":false,"usTin":"123-45-6789"},"deviceMetaData":{"language":"ES","region":"ES","model":"iPhone 15","ipAddress":"57.133.106.166","latitude":"41.403304744622616","longitude":"2.19182290763403","browserType":"BrowserType","browserVersion":"BrowserVersion","osVersion":"OsVersion","osCompromised":"OsCompromised","sdkVersion":"SdkVersion","analyticsID":"AnalyticsID"}}}},"Document Authentication (reference data)":{"summary":"Document Authentication reference data request","description":"Use when the Business Partner uploads previous client data directly (no completed Fourthline Identity Verification on file).","value":{"identityData":{"type":"referenceDocumentData","firstName":"John","lastName":"Smith","nationality":"NLD","placeOfBirth":"SPECIMEN","birthDate":"1985-04-04"}}}},"schema":{"type":"object","properties":{"partnerClientId":{"type":"string","description":"Your unique identifier for the client. Once assigned, use the same `partnerClientId` for that client (natural person) across all workflows. <br /><br /> Reusing the same identifier helps prevent duplicate client records. <br /><br />Format: We recommend a uuid-style string <br /><br />Example: `64731fdb-0651-4040-a565-9ea4113e6130`"},"identityData":{"type":"object","description":"Contains the identity information of the client.\n\n- Set `type` to `IdentityData` and use the nested objects (`personalData`, `address`, `contactDetails`, `tax`, `deviceMetaData`) for a full identity data upload.\n- Set `type` to `referenceDocumentData` and provide the reference fields at the top level of `identityData` when uploading previous client data for [Document Authentication](https://docs.fourthline.com/docs/authentication-overview#document-authentication).\n\nAll five nested sections are optional (nullable). Specific fields may be required based on the products configured within the workflow. For example, for the [Location](https://docs.fourthline.com/docs/location) product, `address` information is mandatory.\n","properties":{"type":{"type":"string","description":"Set to `IdentityData` for a full upload, or `ReferenceDocumentData` for Document Authentication when the Business Partner supplies previous client data."},"firstName":{"type":"string","description":"The client’s first name. Used with `type` `ReferenceDocumentData`. <br /><br />Example: `John`"},"lastName":{"type":"string","description":"The client’s last name. Used with `type` `ReferenceDocumentData`. <br /><br />Example: `Smith`"},"nationality":{"type":"string","description":"The client’s nationality. Used with `type` `ReferenceDocumentData`. Must be a valid ISO 3166-1 alpha-3 country code in uppercase letters when provided. <br /><br />Example: `NLD`"},"placeOfBirth":{"type":"string","description":"The city where the client was born. Used with `type` `ReferenceDocumentData`. Must be provided in uppercase letters when provided. <br /><br />Example: `SPECIMEN`"},"birthDate":{"type":"string","description":"The client’s date of birth. Used with `type` `ReferenceDocumentData`. <br /><br />Format: YYYY-MM-DD <br /><br />Example: `1985-04-04`"},"personalData":{"type":"object","nullable":true,"properties":{"firstName":{"type":"string","description":"The client’s first name. <br /><br />Example: `John`"},"middleName":{"type":"string","description":"The client’s middle name(s). <br /><br />Example: `James`"},"lastName":{"type":"string","description":"The client’s last name. <br /><br />Example: `Smith`"},"otherLastName":{"type":"string","description":"Any other last name the client uses, e.g. married name."},"gender":{"type":"string","enum":["Male","Female","Unknown","Other"],"description":"The client’s gender. <br /><br />Enum: <br />• `Male` <br />• `Female` <br />• `Unknown` <br />• `Other`"},"placeOfBirth":{"type":"string","description":"The city where the client was born. Must be provided in uppercase letters when provided. <br /><br />Example: `BARCELONA`"},"countryOfBirth":{"type":"string","description":"The country where the client was born. Must be a valid ISO 3166-1 alpha-3 country code in uppercase letters when provided. <br /><br />Example: `ESP`"},"birthDate":{"type":"string","description":"The client’s date of birth. <br /><br />Format: YYYY-MM-DD <br /><br />Example: `1960-10-18`"},"nationality":{"type":"string","description":"The client’s nationality. Must be a valid ISO 3166-1 alpha-3 country code in uppercase letters when provided. <br /><br />Example: `ESP`"}}},"address":{"type":"object","nullable":true,"description":"The client’s address details. <br /><br />Requirements: Validating self-declared residence addresses for the [Location](https://docs.fourthline.com/docs/location) product. Otherwise optional.","properties":{"streetName":{"type":"string","description":"The street of the client’s address. <br /><br />Example: `Carrer de la Ciutat de Granada`"},"streetNumber":{"type":"integer","description":"The street number of the client’s address. Must be a positive integer when provided. <br /><br />Example: `150`"},"streetNumberPrefix":{"type":"string","description":"Optional prefix for the street number."},"streetNumberSuffix":{"type":"string","description":"Optional suffix for the street number."},"city":{"type":"string","description":"The city of the client’s address. <br /><br />Example: `Barcelona`"},"region":{"type":"string","description":"The region or state of the client’s address."},"country":{"type":"string","description":"The country of the client’s address. Must be a valid ISO 3166-1 alpha-3 country code in uppercase letters when provided. <br /><br />Example: `ESP`"},"postalCode":{"type":"string","description":"The postal or zip code of the client’s address. <br /><br />Example: `08018`"}}},"contactDetails":{"type":"object","description":"The contact information of the client, including email address, phone number, and mobile number.","properties":{"email":{"type":"string","description":"The client’s email address. Must be a valid email address in lowercase letters when provided. <br /><br />Example: `j.smith@example.com`"},"phone":{"type":"string","description":"The client’s phone number. Must be in format `+prefix number` when provided (country code, space, then number). <br /><br />Example: `+34 612345678`"},"mobile":{"type":"string","description":"The client’s mobile phone number. Must be in format `+prefix number` when provided (country code, space, then number). <br /><br />Example: `+34 12312312`"}}},"tax":{"type":"object","nullable":true,"description":"Send this object when the workflow is configured to collect tax. This request accepts `usPerson` as `true` or `false`. [Get report as JSON](ref:get-report-json) often returns `usPerson` as the string `yes` or `no`. Consumers of that report should use the value in the response.","properties":{"countrySubjectToTaxation":{"type":"string","description":"The country where the client is subject to taxation. This field is case-sensitive and must be provided in uppercase letters. <br /><br />Format: ISO 3166-1 alpha-3 <br /><br />Example: `ESP`"},"tin":{"type":"string","description":"The client’s <Glossary>TIN</Glossary>. <br /><br />Example: `12.34.56-789.01`"},"usPerson":{"type":"boolean","description":"Indicates whether the client is considered a U.S. person for tax purposes. Must be either `true` or `false` when provided."},"usTin":{"type":"string","description":"The client’s US <Glossary>TIN</Glossary>. <br /><br />Format: 123-45-6789"}}},"deviceMetaData":{"type":"object","nullable":true,"description":"The metadata from the client’s device.","properties":{"language":{"type":"string","description":"The client's device or browser language. This value also determines the language of legal documents, such as terms and conditions and the privacy statement.<br /><br />Format: ISO 639-1 alpha-2 <br /> If omitted or unsupported, defaults to `en`. <br /> Supported values when Namirial is the QTSP: <br />• `de`: German <br />• `en`: English (default) <br />• `es`: Spanish <br />• `fr`: French <br />• `it`: Italian <br />• `pl`: Polish <br />• `pt`: Portuguese <br /> • `ro`: Romanian","enum":["de","en","es","fr","it","pl","pt","ro"]},"region":{"type":"string","description":"The country code of the client’s device geolocation. Must be either a valid ISO 3166-1 alpha-2 country code in uppercase letters or a valid ISO 3166-1 alpha-3 country code in uppercase letters when provided. <br />Examples: `IT`, `ITA`."},"model":{"type":"string","description":"The model of the client’s device. <br /><br />Example: `iPhone 15`"},"ipAddress":{"type":"string","description":"The IP address of the client’s device. Must be a valid IPv4 or IPv6 address when provided. <br /><br />Example: `185.128.27.102`"},"latitude":{"type":"string","description":"The latitude of the client’s device geolocation. <br /><br />Format: Float between -90 and 90 <br /><br />Example: `45.464664`"},"longitude":{"type":"string","description":"The longitude of the client’s device geolocation. <br /><br />Format: Float between -180 and 180 <br /><br />Example: `9.188540`"},"browserType":{"type":"string","description":"The type of browser the device of the client is using. <br /><br />Example: `Google Chrome`"},"browserVersion":{"type":"string","description":"The version of the browser the client’s device is using. <br /><br />Example: `116.0.5845.172`"},"osVersion":{"type":"string","description":"The version of the operating system of the client’s device. <br /><br />Example: `Android 13`"},"osCompromised":{"type":"string","description":"Whether the operating system of the client’s device is compromised."},"sdkVersion":{"type":"string","description":"The version of the SDK used."},"analyticsID":{"type":"string","description":"The identifier for the metadata analytics."}}}}}}}}}},"responses":{"200":{"description":"Client data updated","content":{"application/json":{"examples":{"ok":{"summary":"OK","value":{"clientId":"baa2bf19-5258-47ec-b428-276d3f045820"}}},"schema":{"type":"object","properties":{"clientId":{"type":"string","description":"The unique client id for this client from the [Create workflow](ref:create-workflow) response. <br /><br />Format: uuid <br /><br />Example: `baa2bf19-5258-47ec-b428-276d3f045820`"}}}}}},"400":{"description":"Bad Request. Returned when the request body fails validation. \n","content":{"application/json":{"examples":{"validation_failed":{"summary":"Request validation failed","value":{"type":"https://tools.ietf.org/html/rfc7231#section-6.5.1","title":"One or more validation errors occurred.","status":400,"errors":{"identityData.personalData.firstName":["First name is required"],"identityData.address.country":["Country must be a valid ISO 3166-1 alpha-3 code"]}}}},"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}},"404":{"description":"Returned when the workflow or the client cannot be located.\n","content":{"application/json":{"examples":{"workflow_not_found":{"summary":"WorkflowId not found","value":{"type":"https://tools.ietf.org/html/rfc7231#section-6.5.4","title":"Not Found","status":404,"detail":"WorkflowId not found"}},"client_not_found":{"summary":"Client not found","value":{"type":"https://tools.ietf.org/html/rfc7231#section-6.5.4","title":"Not Found","status":404,"detail":"Client not found"}}},"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"422":{"description":"Unprocessable Entity. Returned when the request is syntactically valid but cannot be processed because of a domain-level condition.\n","content":{"application/json":{"examples":{"workflow_cannot_be_assigned":{"summary":"Workflow cannot be assigned to Client","value":{"type":"https://tools.ietf.org/html/rfc4918#section-11.2","title":"Unprocessable Entity","status":422,"detail":"Workflow cannot be assigned to Client"}},"document_content_invalid":{"summary":"Document content invalid","value":{"type":"https://tools.ietf.org/html/rfc4918#section-11.2","title":"Unprocessable Entity","status":422,"detail":"Document content invalid"}},"partner_client_id_creation_failed":{"summary":"PartnerClientId creation failed","value":{"type":"https://tools.ietf.org/html/rfc4918#section-11.2","title":"Unprocessable Entity","status":422,"detail":"PartnerClientId creation failed"}}},"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/v2/workflows/{workflowId}/clients/{clientId}/data":{"post":{"summary":"Upload client document","description":"Use this endpoint to upload or update a document for a client within a workflow. In this API, a document can be an ID document image, document video, selfie, selfie video, proof of residence, document to sign, or signed document. Supported file formats include images, videos, and PDF files.\n\nSend a `multipart/form-data` request containing:\n\n- `metadata`: A JSON string containing document metadata. See the request body schema for details.\n- `file`: The document file. The MIME type must match the file content and the `type` specified in `metadata`.\n\n<img src=\"https://files.readme.io/ad2486a-Inline_Note.svg\" align=\"left\" alt=\"Note\" /> **Note:**  <br /> \n\n* You can upload only one file per request. The maximum supported file size is **200 MB**. \n\n* For error responses, inspect the response body for additional details:\n  * `400` Bad Request returns a `validationProblemDetails` object, including an errors property that maps request fields to validation error messages. \n  * All other error responses return a `problemDetails` object containing type, title, status, and detail. \n","operationId":"upload-client-document","tags":["Client Data & Documents"],"parameters":[{"$ref":"#/components/parameters/authorization"},{"$ref":"#/components/parameters/cacheControl"},{"name":"workflowId","in":"path","required":true,"description":"The unique identifier of the workflow. <br /><br />Format: uuid <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0`","schema":{"type":"string"}},{"name":"clientId","in":"path","required":true,"description":"The unique client id for this client from the [Create workflow](ref:create-workflow) response. <br /><br />Format: uuid <br /><br />Example: `baa2bf19-5258-47ec-b428-276d3f045820`","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"examples":{"Selfie image":{"summary":"Upload selfie","description":"Example metadata for a selfie image with optional geolocation. Serialize `metadata` as JSON in the multipart form field.","value":{"metadata":{"id":"76c3661c-ddf0-4eac-8830-7fef5d042eba","name":"Sample Document","side":"Front","type":"SelfieImage","location":{"latitude":45.464664,"longitude":-9.18854}}}},"Document to sign":{"summary":"Upload document to sign (PDF)","description":"Example metadata for a PDF document to sign with optional signature appearance.","value":{"metadata":{"id":"15d513a1-7272-46ad-8a85-5dcd35275438","type":"DocumentToSign","displayName":"Contract Document","signatureAppearance":{"visibleSignature":true,"location":{"x":400,"y":45},"size":{"width":150,"height":45},"pageNumber":1}}}}},"schema":{"type":"object","required":["file","metadata"],"properties":{"file":{"type":"string","format":"binary","description":"The document file to upload. It must match the `type` in metadata.\n\n**Document types and accepted formats**\n\nImage documents — `DocumentImage`, `ReferenceDocumentImage`, `SelfieImage`, `ReferenceSelfieImage`:\n- PNG (.png)\n- JPEG (.jpg, .jpeg)\n\nProof of residence — `ProofOfResidence`:\n- PDF (.pdf)\n- PNG (.png)\n- JPEG (.jpg, .jpeg)\n\nVideo documents — `DocumentVideo`, `SelfieVideo`, `ReferenceSelfieVideo`:\n- MKV (.mkv)\n- WebM (.webm)\n- MP4 (.mp4)\n- MP4V1 (.mp4v)\n- QuickTime\n- M4V (.m4v)\n\nSignature documents — `DocumentToSign`:\n- PDF (.pdf)\n"},"metadata":{"type":"object","description":"The document metadata. In the multipart request, pass this object as a **JSON string** in the `metadata` form field. Required fields depend on the `type` value.\n\nBase metadata (all document types): `type` (required), `id` (required), and `location` (optional). <br />When `location` is included, both `latitude` and `longitude` must be provided and **cannot** be null or empty.\n","required":["type","id"],"properties":{"type":{"type":"string","description":"The type of document being uploaded.\n\n- `DocumentImage`: Image of an ID document.\n- `DocumentVideo`: Video of an ID document.\n- `SelfieImage`: Current selfie image.\n- `SelfieVideo`: Current selfie video.\n- `ReferenceDocumentImage`: Reference image of a document.\n- `ReferenceSelfieImage`: Reference selfie image.\n- `ReferenceSelfieVideo`: Reference selfie video.\n- `ProofOfResidence`: Proof of residence document.\n- `DocumentToSign`: Document to be signed (PDF).\n","enum":["DocumentImage","DocumentVideo","SelfieImage","SelfieVideo","ReferenceDocumentImage","ReferenceSelfieImage","ReferenceSelfieVideo","ProofOfResidence","DocumentToSign"]},"id":{"type":"string","format":"uuid","description":"The unique identifier of the file metadata entry. Different images of the same physical document have different `id` values but share the same `documentId`."},"location":{"type":"object","description":"Optional geolocation details. <br /><br />Requirements: If `location` is provided, both `latitude` and `longitude` must be provided. Neither field can be null or empty.","required":["latitude","longitude"],"properties":{"latitude":{"type":"number","minimum":-90,"maximum":90,"description":"Format: Must be a number between -90 and 90. <br /><br />Example: 45.464664"},"longitude":{"type":"number","minimum":-180,"maximum":180,"description":"Format: Must be a number between -180 and 180. <br /><br />Example: 9.188540"}}},"documentId":{"type":"string","format":"uuid","description":"The unique identifier of the physical ID document. <br /><br />Requirements: When uploading `DocumentImage` or `DocumentVideo` metadata. Otherwise optional. <br /><br />Use the same `documentId` for all files that belong to the same document, including multiple images or videos of that document. <br /><br /><img src=\"https://files.readme.io/310d4d3-Inline_Caution.svg\" align=\"left\" alt=\"Important\" /> **Important:** Within a workflow, use a distinct `documentId` for each physical document. Reusing a `documentId` for a different document may overwrite the existing document and its files."},"issuingCountry":{"type":"string","description":"The country that issued the document. Optional. <br /><br />Format: ISO 3166-1 alpha-3 country code <br /><br />Example: `ESP`"},"documentType":{"type":"string","description":"The specific type or category of the ID document. <br /><br />Requirements: Uploading `DocumentImage` metadata. Otherwise optional. <br /><br />Enum: <br />• `Passport` <br />• `NationalIDCard` <br />• `HealthInsuranceCard` <br />• `DrivingLicense` <br />• `StudentIDCard` <br />• `PaperID` <br />• `ResidencePermit` <br />• `IbanStatement` <br />• `TinReferenceDocument`","enum":["Passport","NationalIDCard","HealthInsuranceCard","DrivingLicense","StudentIDCard","PaperID","ResidencePermit","IbanStatement","TinReferenceDocument"]},"issueDate":{"type":"string","description":"The date the document was issued. Optional. <br /><br />Format: `yyyy-mm-dd` <br /><br /> Example: `2006-06-01`"},"expirationDate":{"type":"string","description":"The date when the document expires. Optional. <br /><br />Format: `yyyy-mm-dd` <br /><br /> Example: `2036-06-01`"},"documentNumber":{"type":"string","description":"The number on the physical ID document. <br /><br />Requirements: When uploading `DocumentImage` metadata. Otherwise optional. <br /><br /> Example: `XK1028394`"},"name":{"type":"string","description":"A descriptive name for the document (for example, \"Client passport\"). Used with `DocumentImage`, and optional for all metadata types."},"side":{"type":"string","description":"The side of the document provided. Used with `DocumentImage`, and optional for all metadata types.","enum":["Front","Back","InsideLeft","InsideRight"]},"rotationType":{"type":"string","description":"Optional image rotation. Used with `DocumentImage`.","enum":["Normal","Tilted"]},"originTypeOs":{"type":"string","description":"The source of the document image. Used with `DocumentImage`, and optional for all metadata types."},"displayName":{"type":"string","description":"If using SDK integration, the document filename to display to the client in the user interface. Used with `DocumentToSign`, and optional for all metadata types."},"signatureAppearance":{"$ref":"#/components/schemas/ClientDocumentSignatureAppearance"},"documentToSignId":{"type":"string","format":"uuid","description":"The `id` of the corresponding `DocumentToSign` metadata entry."}}}}}}}},"responses":{"200":{"description":"The workflow update completed successfully","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Bad Request. Returned when metadata or the multipart request fails validation. The body is a `validationProblemDetails`.\n","content":{"application/json":{"examples":{"validation_failed":{"summary":"Request validation failed","value":{"type":"https://tools.ietf.org/html/rfc7231#section-6.5.1","title":"One or more validation errors occurred.","status":400,"errors":{"metadata.type":["Document type is required"],"metadata.documentId":["DocumentId is required when uploading DocumentImage metadata"]}}}},"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}},"404":{"description":"The client was not found","content":{"application/json":{"examples":{"not_found":{"summary":"Not Found","value":{"problemDetails":{"title":"Not Found","status":404,"detail":"The client was not found","traceId":"00-7c3e8f2a1b4d5e6f7890abcdef123456-7890abcdef1234567-00"}}}},"schema":{"type":"object"}}}},"413":{"description":"The file size exceeds 200 MB","content":{"application/json":{"examples":{"payload_too_large":{"summary":"Payload Too Large","value":{"problemDetails":{"title":"Payload Too Large","status":413,"detail":"The file size exceeds 200 MB","traceId":"00-7c3e8f2a1b4d5e6f7890abcdef123456-7890abcdef1234567-00"}}}},"schema":{"type":"object"}}}},"422":{"description":"The file format is not supported","content":{"application/json":{"examples":{"unprocessable_entity":{"summary":"Unprocessable Entity","value":{"problemDetails":{"title":"Unprocessable Entity","status":422,"detail":"The file format is not supported","traceId":"00-7c3e8f2a1b4d5e6f7890abcdef123456-7890abcdef1234567-00"}}}},"schema":{"type":"object"}}}}}}},"/v2/workflows/{workflowId}/clients/{clientId}/data/bulk":{"post":{"summary":"Upload multiple client documents (optional)","description":"\nUse this endpoint to upload multiple files and their corresponding metadata in a single request instead of calling [Upload client document](ref:upload-client-document) multiple times.\n\nSend a `multipart/form-data` request containing:\n\n- `files`: One file per part. Minimum 1 and maximum 6 files per request.\n- `bulkMetadata`: A JSON string containing metadata for each file. The number of entries in `bulkMetadata.items` must match the number of `files` parts. See `ClientDocumentBulkMetadata`.\n\n<img src=\"https://files.readme.io/ad2486a-Inline_Note.svg\" align=\"left\" alt=\"Note\" /> **Note:** <br />\n\n* You can upload between 1 and 6 files per request. The maximum supported file size is **200 MB** per file. The maximum combined upload size is **250 MB**. Supported file extensions are `.jpg`, `.jpeg`, `.png`, `.pdf`, `.mp4`, and `.mov`.\n\n* For error responses, inspect the response body for additional details: <br />\n  * `400` Bad Request returns a `validationProblemDetails` object, including an `errors` property that maps request fields to validation error messages. <br />\n  * All other error responses return a `problemDetails` object containing `type`, `title`, `status`, and `detail`. <br />\n","operationId":"upload-client-documents-bulk","tags":["Client Data & Documents"],"parameters":[{"$ref":"#/components/parameters/authorization"},{"$ref":"#/components/parameters/cacheControl"},{"name":"workflowId","in":"path","required":true,"description":"The unique identifier of the workflow. <br /><br />Format: uuid <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0`","schema":{"type":"string","format":"uuid"}},{"name":"clientId","in":"path","required":true,"description":"The unique client id for this client from the [Create workflow](ref:create-workflow) response. <br /><br />Format: uuid <br /><br />Example: `baa2bf19-5258-47ec-b428-276d3f045820`","schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"examples":{"Bulk selfie and document images":{"summary":"Upload selfies and document images","description":"Example `bulkMetadata` with two files. Serialize `bulkMetadata` as JSON in the multipart form field.","value":{"bulkMetadata":{"items":[{"id":"76c3661c-ddf0-4eac-8830-7fef5d042eba","type":"SelfieImage","location":{"latitude":37.7749,"longitude":-122.4194}},{"id":"85fe0925-6b1a-4b03-972a-a917ad1f4bb8","type":"DocumentImage","documentId":"49b1a3ee-68a1-44b3-94a9-7af11077e252","side":"Front","rotationType":"Normal"}]}}}},"schema":{"type":"object","required":["files","bulkMetadata"],"properties":{"files":{"type":"array","minItems":1,"maxItems":6,"description":"The files to upload. Send each file as a separate multipart part. **Minimum 1**, **maximum 6** files per request.\n\nEach file must have a matching entry in `bulkMetadata.items` (same count). Maximum **200 MB** per file; combined maximum **1.2 GB** per request.\n\nAllowed extensions: `.jpg`, `.jpeg`, `.png`, `.pdf`, `.mp4`, `.mov`\n","items":{"type":"string","format":"binary"}},"bulkMetadata":{"$ref":"#/components/schemas/ClientDocumentBulkMetadata"}}}}}},"responses":{"200":{"description":"The bulk upload was accepted and processed","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Bad Request. Returned when metadata/files pairing or the multipart request fails validation. The body is a `validationProblemDetails`.\n","content":{"application/json":{"examples":{"validation_failed":{"summary":"Request validation failed","value":{"type":"https://tools.ietf.org/html/rfc7231#section-6.5.1","title":"One or more validation errors occurred.","status":400,"errors":{"bulkMetadata.items":["The number of metadata items must match the number of files"],"files":["At least one file is required"]}}}},"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}},"404":{"description":"The workflow or client was not found","content":{"application/json":{"examples":{"not_found":{"summary":"Not Found","value":{"problemDetails":{"title":"Not Found","status":404,"detail":"The workflow or client was not found","traceId":"00-7c3e8f2a1b4d5e6f7890abcdef123456-7890abcdef1234567-00"}}}},"schema":{"type":"object"}}}},"413":{"description":"The payload exceeds allowed size","content":{"application/json":{"examples":{"payload_too_large":{"summary":"Payload Too Large","value":{"problemDetails":{"title":"Payload Too Large","status":413,"detail":"The payload exceeds allowed size","traceId":"00-7c3e8f2a1b4d5e6f7890abcdef123456-7890abcdef1234567-00"}}}},"schema":{"type":"object"}}}},"422":{"description":"The request could not be processed (for example, document validation rules)","content":{"application/json":{"examples":{"unprocessable_entity":{"summary":"Unprocessable Entity","value":{"problemDetails":{"title":"Unprocessable Entity","status":422,"detail":"The request could not be processed. Check document validation rules.","traceId":"00-7c3e8f2a1b4d5e6f7890abcdef123456-7890abcdef1234567-00"}}}},"schema":{"type":"object"}}}}}}},"/v2/workflows/{workflowId}/clients/{clientId}/documents/{documentId}/metadata":{"post":{"summary":"Upload ID document metadata (optional)","description":"\nUse this endpoint to upload ID document metadata, such as <Glossary>MRZ</Glossary> or <Glossary>NFC</Glossary>-related fields, for an ID document associated with a `documentId` in a workflow.\n\nThis endpoint enriches a previously uploaded document with structured metadata after document capture.\n\n<img src=\"https://files.readme.io/ad2486a-Inline_Note.svg\" align=\"left\" alt=\"Note\" /> **Note:** <br />\n\n* `400` Bad Request returns a `validationProblemDetails` object, including an `errors` property that maps request fields to validation error messages. <br />\n* Other `400` responses and `404`/`422` errors return a `problemDetails` object containing `type`, `title`, `status`, and `detail`. <br />\n","operationId":"upload-identity-document-metadata","tags":["Client Data & Documents"],"parameters":[{"$ref":"#/components/parameters/authorization"},{"$ref":"#/components/parameters/cacheControl"},{"name":"workflowId","in":"path","required":true,"description":"The unique identifier of the workflow. <br /><br />Format: uuid <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0`","schema":{"type":"string","format":"uuid"}},{"name":"clientId","in":"path","required":true,"description":"The unique client id assigned to the client by Fourthline. <br /><br />Format: uuid <br /><br />Example: `baa2bf19-5258-47ec-b428-276d3f045820`","schema":{"type":"string","format":"uuid"}},{"name":"documentId","in":"path","required":true,"description":"The unique identifier of the physical ID document. <br /><br />Format: uuid <br /><br />Example: `5c7d8d2b-5dca-4214-aa87-20031889a363`","schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"examples":{"Upload document metadata":{"summary":"Upload document metadata","value":{"documentId":"5c7d8d2b-5dca-4214-aa87-20031889a363","documentNumber":"SPECI2014","documentType":"Passport","issuingCountry":"NLD","expirationDate":"2030-11-15","issueDate":"2021-01-01","isPrimaryDocument":true,"nfcDataGroups":[{"nfcDataGroupNumber":"1","nfcData":"615D5F1F5A493C4E4C44535045434932303134323939393939393939303C3C3C3C3C383635303331303146333031313135364E4C443C3C3C3C3C3C3C3C3C3C3C3844453C425255494A4E3C3C57494C4C454B453C4C4953454C4F5454453C3C"}],"sdkAuthenticationChecks":{"activeAuthentication":{"performed":true,"passed":true,"timestamp":"2025-12-30T10:00:00Z"},"chipAuthentication":{"performed":true,"passed":true,"timestamp":"2025-12-30T10:00:00Z"},"bacOrBap":{"performed":true,"passed":true,"timestamp":"2025-12-30T10:00:00Z"},"pace":{"performed":false,"passed":false,"timestamp":"2025-12-30T10:00:00Z"}}}}},"schema":{"$ref":"#/components/schemas/IdentityDocumentMetadata"}}}},"responses":{"200":{"description":"Returned when the metadata is stored successfully. The response body is empty.\n"},"400":{"description":"Bad Request. Returned when the ID document metadata fails validation. \n\nOther `400` responses from this endpoint use `problemDetails` with a `detail` string only (no `errors` object).\n","content":{"application/json":{"examples":{"validation_failed":{"summary":"Validation errors","value":{"type":"https://tools.ietf.org/html/rfc7231#section-6.5.1","title":"One or more validation errors occurred.","status":400,"errors":{"IdentityDocumentMetadata.Mrz":["MRZ format is invalid"],"IdentityDocumentMetadata.IssueDate":["IssueDate cannot be in the future"]}}},"document_id_used_in_another_type":{"summary":"DocumentId used in another Type","value":{"type":"https://tools.ietf.org/html/rfc7231#section-6.5.1","title":"Bad Request","status":400,"detail":"DocumentId used in another Type"}},"document_id_mismatch":{"summary":"Metadata and path documentId mismatch","value":{"type":"https://tools.ietf.org/html/rfc7231#section-6.5.1","title":"Bad Request","status":400,"detail":"The request metadata documentId and parameter documentId do not match"}}},"schema":{"oneOf":[{"$ref":"#/components/schemas/ValidationProblemDetails"},{"$ref":"#/components/schemas/ProblemDetails"}]}}}},"404":{"description":"Returned when the workflow, client, or document referenced by the path cannot be found.\n","content":{"application/json":{"examples":{"document_not_found":{"summary":"Document not found","value":{"type":"https://tools.ietf.org/html/rfc7231#section-6.5.4","title":"Not Found","status":404,"detail":"Document not found"}},"workflow_not_found":{"summary":"WorkflowId not found","value":{"type":"https://tools.ietf.org/html/rfc7231#section-6.5.4","title":"Not Found","status":404,"detail":"WorkflowId not found"}},"client_not_found":{"summary":"Client not found","value":{"type":"https://tools.ietf.org/html/rfc7231#section-6.5.4","title":"Not Found","status":404,"detail":"Client not found"}}},"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"422":{"description":"Unprocessable Entity. Returned when the metadata cannot be reconciled with the previously uploaded document content.\n","content":{"application/json":{"examples":{"document_content_invalid":{"summary":"Document content invalid","value":{"type":"https://tools.ietf.org/html/rfc4918#section-11.2","title":"Unprocessable Entity","status":422,"detail":"Document content invalid"}}},"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/v2/workflows/{workflowId}/start":{"post":{"summary":"Start workflow","description":"\nStart a workflow after all required client data and documents have been uploaded.\n\nFor App Drop-in and Web SDK, the SDK calls this endpoint automatically. You do not need to call it yourself. For API-only integrations, call it after all uploads are complete.\n\n<img src=\"https://files.readme.io/ad2486a-Inline_Note.svg\" align=\"left\" alt=\"Note\" /> **Note:** <br />\n\n* Workflows **cannot** be restarted. Before calling this endpoint, ensure that all required documents and information are complete and correct. To correct missing or incorrect data after the workflow has started, create a new workflow. <br />\n* For error responses, inspect the response body for additional details.\n","operationId":"start-workflow","tags":["Workflow Execution"],"parameters":[{"$ref":"#/components/parameters/authorization"},{"$ref":"#/components/parameters/cacheControl"},{"name":"workflowId","in":"path","required":true,"description":"The unique identifier of the workflow to start. Use the `workflowId` from the [Create workflow](ref:create-workflow) response. <br /><br />Format: uuid <br /><br />Example: `3a3f90d8-019b-4001-98f8-c54848d07827`","schema":{"type":"string","format":"uuid","example":"3a3f90d8-019b-4001-98f8-c54848d07827"},"examples":{"Start workflow":{"summary":"Start workflow","value":"3a3f90d8-019b-4001-98f8-c54848d07827"}}}],"responses":{"202":{"description":"Accepted. Returned when the workflow is accepted for processing. The response body is empty.\n"},"400":{"description":"Bad Request. Returned when required data is missing before capture is complete, when an invalid `flowVariant` is supplied, or when signature products lack their required inputs.\n","content":{"application/json":{"examples":{"invalid_flow_variant":{"summary":"Invalid flowVariant","value":{"type":"https://tools.ietf.org/html/rfc7231#section-6.5.1","title":"Bad Request","status":400,"detail":"Invalid flowVariant 'Foo'. Allowed: eIDVerification, DocumentVerification"}},"missing_signature_inputs":{"summary":"Missing signature product inputs","value":{"type":"https://tools.ietf.org/html/rfc7231#section-6.5.1","title":"Bad Request","status":400,"detail":"Missing required data to start a workflow with signature products"}},"missing_data_sources":{"summary":"Missing or invalid data sources","value":{"type":"https://tools.ietf.org/html/rfc7231#section-6.5.1","title":"Bad Request","status":400,"detail":"Missing or invalid data sources:\n- IdentityVerification: selfie image required\n- Payments: IBAN required\n"}}},"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri","description":"A URI reference that identifies the problem type."},"title":{"type":"string","description":"A short, human-readable summary of the problem type."},"status":{"type":"integer","description":"The HTTP status code."},"detail":{"type":"string","description":"A human-readable explanation specific to this occurrence. Other values observed on `400` from this endpoint include `Invalid flowVariant '<value>'. Allowed: <variant>, <variant>`, `Missing required data to start a workflow with signature products`, and multi-line messages from the data-source validator."}}}}}},"404":{"description":"Not Found. Returned when the referenced workflow does not exist.\n","content":{"application/json":{"examples":{"workflow_not_found":{"summary":"Workflow not found","value":{"type":"https://tools.ietf.org/html/rfc7231#section-6.5.4","title":"Not Found","status":404,"detail":"Workflow not found."}}},"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri","description":"A URI reference that identifies the problem type."},"title":{"type":"string","description":"A short, human-readable summary of the problem type."},"status":{"type":"integer","description":"The HTTP status code."},"detail":{"type":"string","description":"A human-readable explanation specific to this occurrence."}}}}}},"422":{"description":"Unprocessable Entity. Returned when the reference workflow required by payments or signature products cannot be located or is invalid. The `detail` field carries the reference-workflow validator message.\n","content":{"application/json":{"examples":{"reference_workflow_invalid":{"summary":"Reference workflow invalid","value":{"type":"https://tools.ietf.org/html/rfc4918#section-11.2","title":"Unprocessable Entity","status":422,"detail":"Reference workflow '790f325a-48c9-4b82-bb53-c0ea128236f0' was not found or is not eligible for this product."}}},"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri","description":"A URI reference that identifies the problem type."},"title":{"type":"string","description":"A short, human-readable summary of the problem type."},"status":{"type":"integer","description":"The HTTP status code."},"detail":{"type":"string","description":"The reference-workflow validator message."}}}}}}}}},"/v2/testendpoint/workflows/{workflowId}":{"post":{"summary":"Configure outcome","description":"Use this endpoint to configure the expected outcome of an Identity Verification workflow in the Sandbox environment.\n\nCreate the workflow first, then call this endpoint before the workflow starts processing.\n\n`expectations` is an object. Set its `pending` property. When the workflow status is `pending`, the `statusCode` in `responseDetails` determines the outcome.\n\nThis request stores that configuration. Call [Get workflow status](ref:get-workflow-status) for the result.\n","tags":["Test Outcome"],"parameters":[{"$ref":"#/components/parameters/authorization"},{"$ref":"#/components/parameters/cacheControl"},{"name":"workflowId","in":"path","required":true,"description":"The unique identifier of the workflow for which to configure the outcome. <br />\nFormat: uuid <br />\nExample: `3fa85f64-5717-4562-b3fc-2c963f66afa6`\n","schema":{"type":"string","format":"uuid","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}}],"requestBody":{"required":true,"content":{"application/json":{"examples":{"status_code_200":{"summary":"statusCode 200","value":{"expectations":{"pending":{"responseDetails":[{"statusCode":200}],"targetStatus":"pending"}}}},"status_code_4400":{"summary":"statusCode 4400","value":{"expectations":{"pending":{"responseDetails":[{"statusCode":4400}],"targetStatus":"pending"}}}},"status_code_3202":{"summary":"statusCode 3202","value":{"expectations":{"pending":{"responseDetails":[{"statusCode":3202}],"targetStatus":"pending"}}}}},"schema":{"type":"object","required":["expectations"],"properties":{"expectations":{"type":"object","description":"Set the `pending` property. When the workflow status is `pending`, the `statusCode` in `responseDetails` determines the outcome.","required":["pending"],"properties":{"pending":{"type":"object","description":"Provide `responseDetails` with one or more status codes.","required":["responseDetails","targetStatus"],"properties":{"responseDetails":{"type":"array","items":{"type":"object","required":["statusCode"],"properties":{"statusCode":{"type":"integer","format":"int32","description":"Selects the outcome applied when the workflow status is `pending`. Call [Get workflow status](ref:get-workflow-status) for the result. <br /><br />**Examples:** <br />Identity Verification: request `4400` is returned as message `statusCode` `500`. <br />Document Authentication: request `3202` is returned as message `statusCode` `3202`, with product `status` `inconsistent_data`. <br />Biometric Authentication: request `3100` is returned as message `statusCode` `3100`, with product `status` `inconsistent_data`.","example":200}}}},"targetStatus":{"type":"string","description":"Set `pending`."}}}}}}}}}},"responses":{"200":{"description":"The response body is the string `Processed`. The workflow exists, and the expectations were validated and stored.\n","content":{"application/json":{"schema":{"type":"string","example":"Processed"},"examples":{"ok":{"summary":"Processed","value":"Processed"}}}}},"404":{"description":"Not Found. The response body is plain text: `Workflow` followed by the workflow ID and `not found`.\n","content":{"text/plain":{"schema":{"type":"string","description":"A plain-text message identifying the workflow that was not found."},"examples":{"workflow_not_found":{"summary":"Not Found","value":"Workflow 3fa85f64-5717-4562-b3fc-2c963f66afa6 not found"}}}}},"422":{"description":"Unprocessable Entity. The response body is a plain-text validation error message. For example, `Not enough response details` when `responseDetails` is empty.\n","content":{"text/plain":{"schema":{"type":"string","description":"A plain-text validation error message.","example":"Not enough response details"},"examples":{"not_enough_response_details":{"summary":"Unprocessable Entity","value":"Not enough response details"}}}}},"502":{"description":"Bad Gateway. The response body is plain text: `Workflow name could not be resolved for` followed by the workflow ID.\n","content":{"text/plain":{"schema":{"type":"string","description":"A plain-text message stating that the workflow name could not be resolved."},"examples":{"workflow_name_unresolved":{"summary":"Bad Gateway","value":"Workflow name could not be resolved for 3fa85f64-5717-4562-b3fc-2c963f66afa6"}}}}}}}},"/v2/workflows/{workflowId}/status":{"get":{"summary":"Get workflow status","description":"\nUse this endpoint to retrieve the current status of a workflow and its products. You can call this endpoint at any time after the workflow has been created.\n\n`workflowStatus` can stay `pending` while products are at different statuses. For example, Identity Verification can be `completed` while Qualified Electronic Signature is `user_consent_required` or `signed`, and Bank Account Verification is still `pending`.\n\nTo learn more about workflow statuses and how product statuses map to workflow statuses, see [Workflow statuses](https://docs.fourthline.com/v2.0/docs/workflow-statuses).\n\n<img src=\"https://files.readme.io/ad2486a-Inline_Note.svg\" align=\"left\" alt=\"Note\" /> **Note:** This response has no `risk` field. Read the risk result from `products[].messages[].statusCode`. See [Risk codes](https://docs.fourthline.com/v2.0/docs/idv-statuses#risk-codes).\n","operationId":"get-workflow-status","tags":["Statuses"],"parameters":[{"$ref":"#/components/parameters/authorization"},{"$ref":"#/components/parameters/cacheControl"},{"name":"workflowId","in":"path","required":true,"description":"The unique identifier of the workflow. <br /><br />Format: uuid  <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0`","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Workflow status returned","content":{"application/json":{"examples":{"identity_verification":{"summary":"Identity Verification with inconsistent data","value":{"workflowStatus":"completed","products":[{"name":"IdentityVerification","messages":[{"description":"Insufficient photos uploaded","statusCode":3304}],"status":"inconsistent_data","timestamp":"2025-03-27T09:33:11.2374384Z"}]}},"idv_and_payments":{"summary":"Identity Verification + Payments (BAV)","value":{"workflowStatus":"completed","products":[{"name":"IdentityVerification","messages":[{"description":"Verification completed - Low risk","statusCode":200}],"status":"completed","timestamp":"2026-02-12T10:24:38.4120039Z"},{"name":"Payments","messages":[],"transferData":{"iban":"DE44500105175407324981","name":"Mr John James Smith","transferReference":"20260212-KAD4"},"status":"completed","timestamp":"2026-02-12T10:24:38.061105Z"}]}},"idv_and_signatures":{"summary":"Identity Verification + Signatures (QES)","value":{"workflowStatus":"completed","products":[{"name":"IdentityVerification","messages":[{"description":"Verification completed - Low risk","statusCode":200}],"status":"completed","timestamp":"2026-02-12T10:23:56.3259895Z"},{"name":"Signatures","messages":[],"status":"signed","timestamp":"2026-02-12T10:23:55.7910097Z"}]}},"signatures_only":{"summary":"Signatures (QES) only","value":{"workflowStatus":"completed","products":[{"name":"Signatures","status":"signed","timestamp":"2024-01-15T10:30:00Z","messages":[{"description":"Signature completed successfully","statusCode":200,"attemptId":"550e8400-e29b-41d4-a716-446655440000"}]}]}},"idv_qes_bav_pending":{"summary":"Pending — Identity Verification, QES, and BAV","value":{"workflowStatus":"pending","products":[{"name":"IdentityVerification","messages":[{"description":"Data validation - Success","statusCode":1000}],"status":"pending","timestamp":"2026-08-12T14:32:06.2204268Z"},{"name":"Signatures","messages":[],"status":"pending","timestamp":"2026-08-12T14:32:01.4879352Z"},{"name":"Payments","messages":[],"status":"pending","timestamp":"2026-08-12T14:28:03.439021Z"}]}},"idv_completed_qes_consent_bav_pending":{"summary":"Pending — QES user consent required","value":{"workflowStatus":"pending","products":[{"name":"IdentityVerification","messages":[{"description":"Verification completed - Low risk","statusCode":200}],"status":"completed","timestamp":"2026-08-12T14:33:36.7323857Z"},{"name":"Signatures","messages":[],"status":"user_consent_required","timestamp":"2026-08-12T14:32:08.4179519Z"},{"name":"Payments","messages":[],"status":"pending","timestamp":"2026-08-12T14:28:03.439021Z"}]}},"idv_completed_qes_signed_bav_pending":{"summary":"Pending — QES signed, BAV pending","value":{"workflowStatus":"pending","products":[{"name":"IdentityVerification","messages":[{"description":"Verification completed - Low risk","statusCode":200}],"status":"completed","timestamp":"2026-08-12T14:34:48.5352959Z"},{"name":"Signatures","messages":[],"status":"signed","timestamp":"2026-08-12T14:34:42.1347281Z"},{"name":"Payments","messages":[],"status":"pending","timestamp":"2026-08-12T14:28:03.439021Z"}]}},"idv_completed_qes_signed_bav_transfer_pending":{"summary":"Pending — BAV transfer reference","value":{"workflowStatus":"pending","products":[{"name":"IdentityVerification","messages":[{"description":"Verification completed - Low risk","statusCode":200}],"status":"completed","timestamp":"2026-08-12T14:35:24.5081863Z"},{"name":"Signatures","messages":[],"status":"signed","timestamp":"2026-08-12T14:34:42.1347281Z"},{"name":"Payments","messages":[],"transferData":{"iban":"","name":"","transferReference":"20260812-Q4OO"},"status":"pending","timestamp":"2026-08-12T14:35:18.25748Z"}]}},"idv_completed_qes_signed_bav_failed":{"summary":"Failed — BAV data mismatch","value":{"workflowStatus":"failed","products":[{"name":"IdentityVerification","messages":[{"description":"Verification completed - Low risk","statusCode":200}],"status":"completed","timestamp":"2026-08-12T14:44:56.6707093Z"},{"name":"Signatures","messages":[],"status":"signed","timestamp":"2026-08-12T14:34:42.1347281Z"},{"name":"Payments","messages":[{"description":"Data mismatch","statusCode":7012}],"transferData":{"iban":"DE82607929949794405494","name":"Erika Mustermann","transferReference":"20260812-SD7Z"},"status":"failed","timestamp":"2026-08-12T14:44:52.984185Z"}]}},"eid":{"summary":"eIDVerification","value":{"workflowStatus":"completed","flowVariant":"eIDVerification","products":[{"name":"IdentityVerification","messages":[{"description":"Verification completed - Low risk","statusCode":200}],"status":"completed","timestamp":"2026-08-12T14:33:36.7323857Z"}]}}},"schema":{"type":"object","properties":{"workflowStatus":{"type":"string","description":"Overall workflow status.\n\n- `new`: Workflow created and automatic validations are running.\n- `pending`: Validations completed and the workflow is waiting for further action, such as manual review or document signing.\n- `completed`: The workflow finished and a final result was assessed.\n- `failed`: The workflow could not continue because of input errors, such as invalid or missing required data.\n\nSee [Workflow statuses](https://docs.fourthline.com/v2.0/docs/workflow-statuses) for more information.\n","enum":["new","pending","completed","failed"]},"flowVariant":{"$ref":"#/components/schemas/flowVariant"},"products":{"type":"array","description":"Products included in the workflow, each with its own status, messages, and optional product-specific data.","items":{"$ref":"#/components/schemas/WorkflowStatusProduct"}}}}}}},"404":{"description":"The workflowId was not found for the Business Partner sending the request","content":{"application/json":{"examples":{"not_found":{"summary":"Not Found","value":{"problemDetails":{"title":"Not Found","status":404,"detail":"The workflowId was not found for the Business Partner sending the request","traceId":"00-7c3e8f2a1b4d5e6f7890abcdef123456-7890abcdef1234567-00"}}}},"schema":{"type":"object"}}}}}}},"/v2/workflows/{workflowId}/reset":{"put":{"summary":"Remove document duplication restriction","description":"\nUse this endpoint to allow a client to continue a workflow after a document duplication restriction has been applied.\n\nDocument duplication restrictions prevent duplicate onboarding attempts using the same ID document.\n\n<img src=\"https://files.readme.io/ad2486a-Inline_Note.svg\" align=\"left\" alt=\"Note\" /> **Note:** <br />\n\n* This endpoint does not require a request body. <br />\n\n* For error responses, inspect the response body for additional details.\n  \n","operationId":"remove-document-duplication-restriction","tags":["Client Data & Documents"],"parameters":[{"$ref":"#/components/parameters/authorization"},{"$ref":"#/components/parameters/cacheControl"},{"name":"workflowId","in":"path","required":true,"description":"The unique identifier of the workflow. <br /><br />Format: uuid <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0`","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"The restriction was reset successfully","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"The workflow was not found for the Business Partner sending the request","content":{"application/json":{"examples":{"not_found":{"summary":"Not Found","value":{"problemDetails":{"title":"Not Found","status":404,"detail":"The workflow was not found for the Business Partner sending the request","traceId":"00-7c3e8f2a1b4d5e6f7890abcdef123456-7890abcdef1234567-00"}}}},"schema":{"type":"object"}}}},"500":{"description":"An unexpected error occurred on the server","content":{"application/json":{"examples":{"server_error":{"summary":"Internal Server Error","value":{"problemDetails":{"title":"Internal Server Error","status":500,"detail":"An unexpected error occurred on the server","traceId":"00-7c3e8f2a1b4d5e6f7890abcdef123456-7890abcdef1234567-00"}}}},"schema":{"type":"object"}}}}}}},"/v2/workflows/{workflowId}/report/zip":{"get":{"summary":"Get report as ZIP","operationId":"get-report-zipfile","description":"Use this endpoint to download a ZIP file containing the [CDD Report](https://docs.fourthline.com/v2.0/docs/workflow-reports) in PDF format, identity data in XML format (including any Fourthline corrections), and supporting identity files.\n\n<img src=\"https://files.readme.io/ad2486a-Inline_Note.svg\" align=\"left\" alt=\"Note\" /> **Note:**\n\n* Media files are returned in their original format. Fourthline does not convert uploaded files.\n","tags":["Reports"],"parameters":[{"$ref":"#/components/parameters/authorization"},{"$ref":"#/components/parameters/cacheControl"},{"name":"workflowId","in":"path","required":true,"description":"The unique identifier of the workflow. <br /><br />Format: uuid <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0`","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK. Returns an `application/zip` file stream named `{workflowId}.zip`.\n","content":{"application/zip":{"schema":{"type":"string","format":"binary"}}}},"404":{"description":"Not Found. Returned when no ZIP report is available for the workflow.\n","content":{"text/plain":{"examples":{"verification_id":{"summary":"Verification Id not found","value":"Verification Id: 790f325a-48c9-4b82-bb53-c0ea128236f0"},"report_generation_failed":{"summary":"Report generation failed","value":"Report generation failed"},"invalid_verification_status":{"summary":"Invalid verification status","value":"Invalid verification status for this request"}},"schema":{"type":"string","description":"Plain-text error message. Other values observed on `404` from this endpoint include `Report generation failed` and `Invalid verification status for this request`."}}}},"500":{"description":"Internal Server Error. Returned for unexpected service failures. The response body is empty.\n"}}}},"/v2/workflows/{workflowId}/report/pdf":{"get":{"summary":"Get report as PDF","operationId":"get-report-pdf","description":"Use this endpoint to download the CDD Report in PDF format.\n","tags":["Reports"],"parameters":[{"$ref":"#/components/parameters/authorization"},{"$ref":"#/components/parameters/cacheControl"},{"name":"workflowId","in":"path","required":true,"description":"The unique identifier of the workflow. <br /><br />Format: uuid <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0`","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK. Returns an `application/pdf` file stream named `{workflowId}.pdf`.\n","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"404":{"description":"Not Found. Returned when no PDF report is available for the workflow.\n","content":{"text/plain":{"examples":{"verification_id":{"summary":"Verification Id not found","value":"Verification Id: 790f325a-48c9-4b82-bb53-c0ea128236f0"},"report_generation_failed":{"summary":"Report generation failed","value":"Report generation failed"},"invalid_verification_status":{"summary":"Invalid verification status","value":"Invalid verification status for this request"}},"schema":{"type":"string","description":"Plain-text error message. Other values observed on `404` from this endpoint include `Report generation failed` and `Invalid verification status for this request`."}}}},"500":{"description":"Internal Server Error. Returned for unexpected service failures. The response body is empty.\n"}}}},"/v2/workflows/{workflowId}/report/xml":{"get":{"summary":"Get report as XML","operationId":"get-report-xml","description":"Use this endpoint to download the CDD Report in XML format.\n","tags":["Reports"],"parameters":[{"$ref":"#/components/parameters/authorization"},{"$ref":"#/components/parameters/cacheControl"},{"name":"workflowId","in":"path","required":true,"description":"The unique identifier of the workflow. <br /><br />Format: uuid <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0`","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK. Returns a `text/xml` file stream named `{workflowId}.xml`.\n","content":{"text/xml":{"schema":{"type":"string","format":"binary"},"examples":{"ok":{"summary":"OK","value":"[XML CDD report]"}}}}},"400":{"description":"Bad Request. Returned when the verification process type is not supported by this endpoint.\n","content":{"text/plain":{"examples":{"invalid_process_type":{"summary":"Invalid verification process type","value":"Verification process type is not Identification, please use the correct endpoint to get the status"}},"schema":{"type":"string","description":"Plain-text error message."}}}},"404":{"description":"Not Found. Returned when no XML report is available for the workflow.\n","content":{"text/plain":{"examples":{"verification_id":{"summary":"Verification Id not found","value":"Verification Id: 790f325a-48c9-4b82-bb53-c0ea128236f0"},"report_generation_failed":{"summary":"Report generation failed","value":"Report generation failed"},"invalid_verification_status":{"summary":"Invalid verification status","value":"Invalid verification status for this request"}},"schema":{"type":"string","description":"Plain-text error message. Other values observed on `404` from this endpoint include `Report generation failed` and `Invalid verification status for this request`."}}}},"500":{"description":"Internal Server Error. Returned for unexpected service failures. The response body is empty.\n"}}}},"/v2/workflows/{workflowId}/report/json":{"get":{"summary":"Get report as JSON","description":"Use this endpoint to retrieve the workflow report in JSON format. The report includes <Glossary>CDD</Glossary> data, product-specific information, received data, SLA details, risk assessment results, and status messages. <br /><br />\n\n<img src=\"https://files.readme.io/ad2486a-Inline_Note.svg\" align=\"left\" alt=\"Note\" /> **Note:**\n\n* `flowVariant` is returned on the root object when the workflow offers both eID and verification with a physical ID document. When the workflow does not offer both, the property is absent.\n* For error responses, inspect the response body for additional details.\n","operationId":"get-report-json","tags":["Reports"],"parameters":[{"$ref":"#/components/parameters/authorization"},{"$ref":"#/components/parameters/cacheControl"},{"name":"workflowId","in":"path","required":true,"description":"The unique identifier of the workflow. <br /><br />Format: uuid <br /><br />Example: `790f325a-48c9-4b82-bb53-c0ea128236f0`","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK. Returns an `application/json` file stream named `{workflowId}.json`.\n","content":{"application/json":{"examples":{"identityVerification":{"summary":"Identity Verification","value":{"workflowId":"c9cc1171-b4f0-4c06-b83f-76cede548825","workflow":"IdvWorkflow","workflowStatus":"completed","clientId":"a92cc0fd-9ba8-41af-ac8d-9b1035d6e75e","products":[{"name":"IdentityVerification","productStatus":"completed","lastModified":"2026-04-28T08:59:23.0430248+00:00","identityData":{"personalData":{"firstName":"John","middleName":"James","lastName":"Smith","gender":"Male","placeOfBirth":"MADRID","countryOfBirth":"ESP","birthDate":"1961-01-01T00:00:00Z","nationality":"ESP"},"address":{"streetName":"CARRER DE LA CIUTAT DE GRANADA","streetNumber":"152","streetNumberSuffix":"[NOT PROVIDED]","city":"BARCELONA","country":"ESP","postalCode":"08018"},"contactDetails":{"email":"j.smith@example.com"},"tax":{},"deviceMetaData":{"language":"ES","region":"ESP","model":"iPhone 12 Pro Max","ipAddress":"88.26.241.248","latitude":"36.4192","longitude":"-6.1494","browserType":"Chrome","browserVersion":"91.0.4472.114","osVersion":"15.5","sdkVersion":"4.1.0","analyticsID":"1234567890"}},"identityDocumentData":{"documentNumber":"8BB666666","documentType":"Passport","issuingCountry":"ESP","expirationDate":"2066-06-01","issueDate":"2006-06-01"},"rawVizReading":[{"fieldName":"FirstName","fieldValue":"John"},{"fieldName":"GivenNames","fieldValue":"James Smith"},{"fieldName":"DateOfBirth","fieldValue":"610101"},{"fieldName":"Gender","fieldValue":"M"},{"fieldName":"PlaceOfBirth","fieldValue":"MADRID"},{"fieldName":"Nationality","fieldValue":"ESP"},{"fieldName":"DocumentNumber","fieldValue":"8BB666666"},{"fieldName":"IssueDate","fieldValue":"060601"},{"fieldName":"ExpiryDate","fieldValue":"660601"}]}],"receivedData":{"files":[{"id":"6bc96fdf-6ea6-4f1d-8ec2-6cf2d801f27d","type":"SelfieImage","fileName":"6bc96fdf-6ea6-4f1d-8ec2-6cf2d801f27d.jpg","geolocation":{"latitude":"37.7749","longitude":"-122.4194"}},{"id":"c90b3289-725d-4b5d-9b7a-d093cbeaec68","type":"SelfieVideo","fileName":"c90b3289-725d-4b5d-9b7a-d093cbeaec68.mp4","geolocation":{"latitude":"37.7749","longitude":"-122.4194"}},{"id":"85fe0925-6b1a-4b03-972a-a917ad1f4bb8","type":"DocumentImage","fileName":"85fe0925-6b1a-4b03-972a-a917ad1f4bb8.jpg","geolocation":{"latitude":"37.7749","longitude":"-122.4194"},"documentId":"49b1a3ee-68a1-44b3-94a9-7af11077e252","side":"Front","rotationType":"Normal"},{"id":"5ccd1ce9-6ffe-4a83-bba7-f32351f084d4","type":"DocumentImage","fileName":"5ccd1ce9-6ffe-4a83-bba7-f32351f084d4.jpg","geolocation":{"latitude":"37.7749","longitude":"-122.4194"},"documentId":"49b1a3ee-68a1-44b3-94a9-7af11077e252","side":"Back","rotationType":"Normal"},{"id":"6e484b77-daf6-4125-a634-fea36840150e","type":"DocumentVideo","fileName":"6e484b77-daf6-4125-a634-fea36840150e.mp4","geolocation":{"latitude":"37.7749","longitude":"-122.4194"},"documentId":"f00c2685-93dd-45d9-8e01-7ff2913ac5f5"}],"receivedIdentityData":{"personalData":{"firstName":"John","middleName":"James","lastName":"Smith","gender":"Male","placeOfBirth":"MADRID","countryOfBirth":"ESP","birthDate":"1960-12-31T23:00:00+00:00","nationality":"ESP"},"address":{"streetName":"CARRER DE LA CIUTAT DE GRANADA","streetNumber":"152","city":"BARCELONA","country":"ESP","postalCode":"08018"},"contactDetails":{"email":"j.smith@example.com"},"deviceMetaData":{"language":"ES","region":"ESP","model":"iPhone 12 Pro Max","ipAddress":"88.26.241.248","latitude":"36.4192","longitude":"-6.1494","browserType":"Chrome","browserVersion":"91.0.4472.114","osVersion":"15.5","sdkVersion":"4.1.0","analyticsID":"1234567890"}}},"sla":{"receivedDate":"2026-04-28T08:59:11.0447578Z","slaStart":"2026-04-28T08:59:11.6683774Z","slaEnd":"2026-04-28T08:59:24.0852898Z","withinSla":true},"risk":{"conclusion":"Unacceptable","statusCode":500,"result":"completed","processResult":"reject"},"statusMessages":[{"statusCode":4110,"description":"Confirmed hit (positive hit)","areaOfAttention":"Person found in watchlist(s)","checkId":"fullNameSanction0"}]}},"identity_verification_with_tax":{"summary":"Identity Verification with tax","value":{"workflowId":"c9cc1171-b4f0-4c06-b83f-76cede548825","workflow":"IdvWorkflow","workflowStatus":"completed","clientId":"a92cc0fd-9ba8-41af-ac8d-9b1035d6e75e","products":[{"name":"IdentityVerification","productStatus":"completed","lastModified":"2026-04-28T08:59:23.0430248+00:00","identityData":{"personalData":{"firstName":"John","middleName":"James","lastName":"Smith","gender":"Male","placeOfBirth":"MADRID","countryOfBirth":"ESP","birthDate":"1961-01-01T00:00:00Z","nationality":"ESP"},"address":{"streetName":"CARRER DE LA CIUTAT DE GRANADA","streetNumber":"152","city":"BARCELONA","country":"ESP","postalCode":"08018"},"contactDetails":{"email":"j.smith@example.com"},"tax":{"countrySubjectToTaxation":"ESP","tin":"999999999","usPerson":"no","usTin":"123-45-6789"},"deviceMetaData":{"language":"ES","region":"ESP","model":"iPhone 12 Pro Max","ipAddress":"88.26.241.248","latitude":"36.4192","longitude":"-6.1494","sdkVersion":"4.1.0"}},"identityDocumentData":{"documentNumber":"8BB666666","documentType":"Passport","issuingCountry":"ESP","expirationDate":"2066-06-01","issueDate":"2006-06-01"}}]}},"identity_verification_nfc":{"summary":"Identity Verification with NFC","value":{"workflowId":"16b6e947-e694-4f41-ac6d-1660a9cb6a29","workflow":"IdvWorkflowPassiveAuth","workflowStatus":"completed","clientId":"7d77c1f8-aa2e-4d6f-b34e-ac64c1e4b266","products":[{"name":"IdentityVerification","productStatus":"completed","lastModified":"2026-04-28T09:00:48.8546259+00:00","identityData":{"personalData":{"firstName":"John","lastName":"Smith","gender":"Male","placeOfBirth":"SPECIMEN","countryOfBirth":"NLD","birthDate":"1965-03-10T00:00:00Z","nationality":"NLD"}},"identityDocumentData":{"documentNumber":"SPECI2014","documentType":"Passport","issuingCountry":"NLD","expirationDate":"2030-11-15","issueDate":"2021-01-01"}}],"receivedData":{"files":[{"id":"8f2711b1-2a84-4a78-8990-e0725e308404","type":"EmbeddedFace","fileName":"8f2711b1-2a84-4a78-8990-e0725e308404.jpg","documentId":"5c7d8d2b-5dca-4214-aa87-20031889a363"}],"receivedIdentityDocumentData":{"documentId":"5c7d8d2b-5dca-4214-aa87-20031889a363","documentNumber":"SPECI2014","documentType":"Passport","issuingCountry":"NLD","nfcDataGroups":[{"nfcDataGroupNumber":"1","nfcData":"615D5F1F5A493C4E4C44535045434932303134323939393939393939303C3C3C3C3C383635303331303146333031313135364E4C443C3C3C3C3C3C3C3C3C3C3C3844453C425255494A4E3C3C57494C4C454B453C4C4953454C4F5454453C3C"}],"sdkAuthenticationChecks":{"activeAuthentication":{"performed":true,"passed":true,"timestamp":"2025-12-30"},"chipAuthentication":{"performed":true,"passed":true,"timestamp":"2025-12-30"},"bacOrBap":{"performed":true,"passed":true},"pace":{"performed":false,"passed":false}}}},"sla":{"receivedDate":"2026-04-28T09:00:40.3846288Z","slaStart":"2026-04-28T09:00:40.6336778Z","slaEnd":"2026-04-28T09:00:49.5348784Z","withinSla":true},"risk":{"conclusion":"Low","statusCode":200,"result":"completed","processResult":"success"},"statusMessages":[{"statusCode":200,"description":"Verification completed - Low risk."}]}},"payments":{"summary":"Payments (BAV)","value":{"workflowId":"b3a272b1-6b81-491a-a1e7-d6fef396bc46","workflowStatus":"completed","products":[{"name":"Payments","productStatus":"completed","lastModified":"2026-04-28T09:00:57.521Z","transferData":{"iban":"DE44500105175407324981","name":"Mr John James Smith","transferReference":"20260428-722L","currency":"EUR","amountRequested":"0.10"},"messages":[{"statusCode":200,"description":"Payment completed"}]}],"receivedData":{"files":[]}}},"signatures":{"summary":"Signatures (QES)","value":{"workflowId":"4d044996-8c5b-4bb5-bbdc-d1af0c7ebe38","workflowStatus":"completed","products":[{"name":"Signatures","productStatus":"signed","lastModified":"2026-04-28T09:01:31.9204498Z","messages":[{"statusCode":200,"description":"Signature completed successfully","attemptId":"550e8400-e29b-41d4-a716-446655440000"}],"documentsToSign":[{"documentId":"15d513a1-7272-46ad-8a85-5dcd35275438","signatureId":"4d044996-8c5b-4bb5-bbdc-d1af0c7ebe38","displayName":"Document To Sign","fileName":"Document To Sign","contentType":"application/pdf","location":"https://kyc-s3-qes-test.s3.eu-west-1.amazonaws.com/4d044996-8c5b-4bb5-bbdc-d1af0c7ebe38/DocumentsToSign/15d513a1-7272-46ad-8a85-5dcd35275438.pdf","hash":"FD1A2DB12B9BDC8DF6B24A4B1BEECA2076719182B0F0C74714F2F2567A48BDE4"}],"signedDocuments":[{"documentId":"15d513a1-7272-46ad-8a85-5dcd35275438","signatureId":"4d044996-8c5b-4bb5-bbdc-d1af0c7ebe38","displayName":"Document To Sign","fileName":"Document To Sign","contentType":"application/pdf","location":"https://kyc-s3-qes-test.s3.eu-west-1.amazonaws.com/4d044996-8c5b-4bb5-bbdc-d1af0c7ebe38/SignedDocuments/15d513a1-7272-46ad-8a85-5dcd35275438.pdf","hash":"08ccca48f1019f23144ced54f519013b9965a3a5a13b0b82ed84b68e28a8c62d"}]}],"receivedData":{"files":[]}}},"combined":{"summary":"Combined (Identity Verification, Payments, Signatures)","value":{"workflowId":"601e240c-a4c9-4ef7-a55d-08650b651719","workflow":"IdvAndPaymentsWorkflow","workflowStatus":"completed","clientId":"583ea0aa-df93-4ca2-bc93-f6e7e86a545a","products":[{"name":"IdentityVerification","productStatus":"completed","lastModified":"2026-04-28T09:01:24.4594428+00:00","identityData":{"personalData":{"firstName":"John","middleName":"James","lastName":"Smith","gender":"Male","nationality":"NLD"},"contactDetails":{"email":"j.smith@example.com","mobile":"+34 666666666"}},"identityDocumentData":{"documentNumber":"SPECI2014","documentType":"Passport","issuingCountry":"NLD"}},{"name":"Payments","productStatus":"completed","lastModified":"2026-04-28T09:01:26.953546Z","transferData":{"iban":"DE44500105175407324981","name":"Mr John James Smith","transferReference":"20260428-BNQB","currency":"EUR","amountRequested":"0.10"},"messages":[{"statusCode":200,"description":"Payment completed"}]},{"name":"Signatures","productStatus":"signed","lastModified":"2026-04-28T09:01:31.9204498Z","messages":[{"statusCode":200,"description":"Signature completed successfully","attemptId":"550e8400-e29b-41d4-a716-446655440000"}],"documentsToSign":[{"documentId":"15d513a1-7272-46ad-8a85-5dcd35275438","signatureId":"4d044996-8c5b-4bb5-bbdc-d1af0c7ebe38","displayName":"Document To Sign","fileName":"Document To Sign","contentType":"application/pdf","hash":"FD1A2DB12B9BDC8DF6B24A4B1BEECA2076719182B0F0C74714F2F2567A48BDE4"}],"signedDocuments":[{"documentId":"15d513a1-7272-46ad-8a85-5dcd35275438","signatureId":"4d044996-8c5b-4bb5-bbdc-d1af0c7ebe38","displayName":"Document To Sign","fileName":"Document To Sign","hash":"08ccca48f1019f23144ced54f519013b9965a3a5a13b0b82ed84b68e28a8c62d"}]}],"receivedData":{"files":[{"id":"17515a8d-1535-4354-b832-9bbfa4a02404","type":"SelfieImage","fileName":"17515a8d-1535-4354-b832-9bbfa4a02404.jpg","geolocation":{"latitude":"37.7749","longitude":"-122.4194"}},{"id":"a0572cae-797e-4484-8af5-7fef729770f4","type":"DocumentImage","fileName":"a0572cae-797e-4484-8af5-7fef729770f4.jpg","documentId":"0e89e2a3-a530-484b-9686-77dd436d86ce","side":"Front","rotationType":"Normal"}],"receivedIdentityData":{"personalData":{"firstName":"John","middleName":"James","lastName":"Smith","gender":"Male"},"contactDetails":{"email":"j.smith@example.com","mobile":"+34 666666666"}}},"sla":{"receivedDate":"2026-04-28T09:01:07.9168971Z","slaStart":"2026-04-28T09:01:08.4111577Z","slaEnd":"2026-04-28T09:01:25.6349185Z","withinSla":true},"risk":{"conclusion":"Low","statusCode":200,"result":"completed","processResult":"success"},"statusMessages":[{"statusCode":200,"description":"Verification completed - Low risk."}]}},"identity_verification_eid":{"summary":"Identity Verification, eIDVerification","value":{"tenant":"QA","workflowId":"3f1c9a52-8d4e-4b7a-9c1e-2a6f0d5b7e11","workflow":"IdvOrEIDMinWorkflow","flowVariant":"eIDVerification","workflowStatus":"completed","clientId":"7d0b6e3a-2c51-4f9e-a8b4-91e3c5f0d612","products":[{"name":"IdentityVerification","productStatus":"completed","lastModified":"2026-10-20T14:32:10Z","identityData":{},"identityDocumentData":{}}]}}},"schema":{"$ref":"#/components/schemas/WorkflowJsonReport"}}}},"400":{"description":"Possible reasons:\n- Invalid or missing `workflowId`\n- Invalid process type (this endpoint is v2 exclusive)\n","content":{"application/json":{"examples":{"bad_request":{"summary":"Bad Request","value":{"message":"Request model validation error.","code":"400","errors":[{"code":"400","property":"workflowId","message":"The workflowId is missing or invalid."}]}}},"schema":{"type":"object","properties":{"message":{"description":"The error message.","type":"string"},"code":{"description":"The general error code.","type":"string"},"errors":{"description":"Information about the specific error.","type":"array","items":{"type":"object","properties":{"code":{"description":"The specific error code.","type":"string"},"property":{"description":"The property that threw the error.","type":"string"},"message":{"description":"The description of the error thrown by the property.","type":"string"}}}}}}}}},"404":{"description":"Not Found. Returned when the workflow row or its configuration cannot be located.\n","content":{"application/json":{"examples":{"workflow_not_found":{"summary":"Workflow not found","value":{"type":"https://tools.ietf.org/html/rfc7231#section-6.5.4","title":"Not Found","status":404,"detail":"Workflow not found."}},"error_retrieving_status":{"summary":"Error retrieving status","value":{"type":"https://tools.ietf.org/html/rfc7231#section-6.5.4","title":"Not Found","status":404,"detail":"Error retrieving status."}}},"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri","description":"A URI reference that identifies the problem type."},"title":{"type":"string","description":"A short, human-readable summary of the problem type."},"status":{"type":"integer","description":"The HTTP status code."},"detail":{"type":"string","description":"A human-readable explanation specific to this occurrence. Other values observed on `404` from this endpoint include `Error retrieving status.`"}}}}}},"500":{"description":"Internal Server Error. Returned when an internal dependency (Identity Store, Verification Process Manager) cannot be reached, when identity data cannot be retrieved for an IDV workflow, or when a workflow with IDV products has no IDV report.\n","content":{"application/json":{"examples":{"error_retrieving_status":{"summary":"Error retrieving status","value":{"type":"https://tools.ietf.org/html/rfc7231#section-6.6.1","title":"Internal Server Error","status":500,"detail":"Error retrieving status."}}},"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri","description":"A URI reference that identifies the problem type."},"title":{"type":"string","description":"A short, human-readable summary of the problem type."},"status":{"type":"integer","description":"The HTTP status code."},"detail":{"type":"string","description":"A human-readable explanation specific to this occurrence."}}}}}}}}}},"x-readme":{"headers":[],"explorer-enabled":false,"proxy-enabled":true,"samples-enabled":true},"x-readme-fauxas":true}