ENDPOINT (PERSON)
- PATCH /v1/person/:id/document/:document_id
ENDPOINT (BUSINESS)
- PATCH /v1/business/:id/document/:document_id
REQUEST
- {
- "docType": "drivingLicense",
- "name": "Drivers License",
- "description": "CA license",
- "documentNumber": "D123456789",
- "issuingCountry": "US",
- "issuingState": "CA",
- "expirationDate": "2025-09-08"
- }
RESPONSE
- {
- "id": "doc-e073e130-0221-4f4c-99e4-21a06ee56666",
- "personId": "per-de343f0d-abc4-43af-b3d0-540e3994f3af",
- "url": "https://v2-prod-test-solidfi-documents.amazonaws.com/person/...",
- "description": "CA license",
- "docType": "drivingLicense",
- "status": "active",
- "documentNumber": "D123456789",
- "issuingCountry": "US",
- "issuingState": "CA",
- "expirationDate": "2025-09-08",
- "createdAt": "2022-09-06T19:52:03Z",
- "modifiedAt": "2022-09-07T13:52:03Z"
- }