ENDPOINT (PERSON)
- POST /v1/person/:id/document
ENDPOINT (BUSINESS)
- POST /v1/business/:id/document
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-06T19:52:03Z"
- }
Once you have created the document, use the upload URL provided in the url field to Upload a Document. Note that the URL expires after 15 minutes.