For the complete documentation index, see llms.txt. This page is also available as Markdown.

Start validation

Start a DAF validation by sending the fileKeys of the assets previously uploaded to storage. DAF responds immediately with a transactionId. The result is obtained via polling.

The final diagnosis (APPROVED / DECLINED), the rejection reason (rejectionReason) and the individual verification signals (diagnostics[]) are detailed in the result response, which includes the complete catalog of reason codes (general and granular).

Endpoint

POST /v2/daf/validate

Headers

Name
Type
Required
Description

Authorization

string

Yes

Consumer token in format Bearer <token> (see Authentication).

consumer-id

string

Yes

Consumer identifier.

operation-id

string

Yes

Business operation/session identifier.

Request body

Content-Type: application/json

Each asset is referenced by a fixed role key (document_front, document_back, face), along with its type storage and its fileKey:

Parameters

Parameter
Type
Required
Description

document_front

object

Yes

Document front asset.

document_front.type

string

Yes

Must be TOKEN_FRONT_DOCUMENT.

document_front.fileKey

string

Yes

fileKey returned by POST /storage.

document_back

object

No

Document back asset.

document_back.type

string

No

Must be TOKEN_BACK_DOCUMENT.

document_back.fileKey

string

No

fileKey returned by POST /storage.

face

object

No

Holder selfie asset.

face.type

string

No

Must be TOKEN_FACE_IMAGE.

face.fileKey

string

No

fileKey returned by POST /storage.

Request example

Input validations

  • document_front is required, with type = TOKEN_FRONT_DOCUMENT and a fileKey resolvable.

  • If included document_back or face, its type must exactly match the expected one.

  • consumer-id and operation-id cannot be empty.

  • If the request is invalid (bad request), it is rejected with a 4xx and the transaction is not created. Other failures when starting processing create the transaction with status = ERROR.

Responses

202 Accepted

Response parameters

Parameter
Type
Description

transactionId

string

Unique identifier of the DAF transaction.

status

string

PROCESSED (accepted successfully) or ERROR (could not be started).

timestamp

string

Transaction creation timestamp in format ISO 8601.

Response example

400 Bad Request

The request fails input validations (required asset missing, type mismatched, empty header). The transaction is not created.

Last updated