Skip to main content
PUT
/
verifications
/
{uuid}
/
documents
/
{document_uuid}
Update verification document
curl --request PUT \
  --url https://{subdomain}.truust.io/2.0/verifications/{uuid}/documents/{document_uuid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "IDENTITY_PROOF",
  "content": "data:application/pdf;base64,iVBORw0KGgo..."
}
'
{
  "id": 123,
  "uuid": "<string>",
  "type": "IDENTITY_PROOF",
  "status": "CREATED",
  "refused_reason": "<string>",
  "url": "<string>",
  "created_at": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.truust.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use your account's Secret Key as the Bearer token.

Path Parameters

uuid
string
required

Verification UUID.

document_uuid
string
required

Body

application/json
type
enum<string>
required

Document type.

Available options:
IDENTITY_PROOF,
REGISTRATION_PROOF,
ARTICLES_OF_ASSOCIATION,
SHAREHOLDER_DECLARATION,
ADDRESS_PROOF,
TAX_VERIFICATION,
BUSINESS_ADMINISTRATOR_ID,
COMPANY_REGISTRATION_PROOF,
BANK_VERIFICATION
content
string
required

Base64-encoded file content (image or PDF).

Example:

"data:application/pdf;base64,iVBORw0KGgo..."

Response

Document updated

id
integer
uuid
string
type
enum<string>
Available options:
IDENTITY_PROOF,
REGISTRATION_PROOF,
ARTICLES_OF_ASSOCIATION,
SHAREHOLDER_DECLARATION,
ADDRESS_PROOF,
TAX_VERIFICATION,
BUSINESS_ADMINISTRATOR_ID,
COMPANY_REGISTRATION_PROOF,
BANK_VERIFICATION
status
enum<string>
Available options:
CREATED,
VALIDATED,
REFUSED
refused_reason
string | null
url
string<uri> | null
created_at
string<date-time> | null