Update a Document

Updates the document information by passing the person ID and document ID
Documents
Update a Document
 last updated: 
November 30, 2023

ENDPOINT (PERSON)

  1. PATCH /v1/person/:id/document/:document_id

ENDPOINT (BUSINESS)

  1. PATCH /v1/business/:id/document/:document_id

REQUEST

  1. {
  2.   "docType": "drivingLicense",
  3.   "name": "Drivers License",
  4.   "description": "CA license",
  5.   "documentNumber": "D123456789",
  6.   "issuingCountry": "US",
  7.   "issuingState": "CA",
  8.   "expirationDate": "2025-09-08"
  9. }

RESPONSE

  1. {
  2.   "id": "doc-e073e130-0221-4f4c-99e4-21a06ee56666",
  3.   "personId": "per-de343f0d-abc4-43af-b3d0-540e3994f3af",
  4.   "url": "https://v2-prod-test-solidfi-documents.amazonaws.com/person/...",
  5.   "description": "CA license",
  6.   "docType": "drivingLicense",
  7.   "status": "active",
  8.   "documentNumber": "D123456789",
  9.   "issuingCountry": "US",
  10.   "issuingState": "CA",
  11.   "expirationDate": "2025-09-08",
  12.   "createdAt": "2022-09-06T19:52:03Z",
  13.   "modifiedAt": "2022-09-07T13:52:03Z"
  14. }