Complete a Document Upload
Confirms that a presigned upload arrived. It reads the file's real size from storage and marks the document ready. Only ready documents count for Request Verification, so call this after every upload.
Takes a workspace-scoped API key or a dashboard session. An account-scoped key is refused with 401.
New in v3: v2 has no equivalent.
Authorization:
Every request is signed with your API key: a short-lived JWT, signed with your private key, sent in one header on /v3/* and /api/v2/* alike.
Headers:
Authorization: APIKey {SIGNED_JWT}
How to build and sign the JWT: Authentication.
Endpoint
/v3/customers/{customer_id}/kyc/documents/{document_id}/complete
Path parameters
| Parameter | Type | Description |
|---|---|---|
customer_id | string (cst_…) | Required. The customer. |
document_id | string (doc_…) | Required. The document_id that Presign returned. |
No request body.
Response
204 No Content, with no body. Calling it again for the same document answers 204 again.
Errors
| Status | message | When |
|---|---|---|
400 | failed to parse request | customer_id or document_id is not a TypeID of its kind. |
401 | unauthorized | Missing or invalid signature, or the caller is an account-scoped key or a customer session. |
403 | forbidden | A dashboard member whose role does not allow this. A workspace-scoped key always may. |
404 | kyc_not_found | The customer has no record. |
404 | document_not_found | The record has no document with this id. |
409 | document_not_uploaded | The file never reached storage. Upload it (presign again if the URL expired), then retry. |
Support and Resources
If you need assistance or have any questions, our support team is here to help. You can contact our support team at support@blockwyre.com.
Stay Updated
Stay up-to-date with the latest news, updates, and features from BlockWyre by following us on social media:
- Instagram: BlockWyre Instagram
- Twitter: BlockWyre Twitter
- Facebook: BlockWyre Facebook
- LinkedIn: BlockWyre LinkedIn
We are excited to have you on board and look forward to seeing how you leverage BlockWyre's powerful tools to enhance your financial operations. Happy integrating!