Documents
Confirm document upload
Changed onConfirm that a document has been uploaded to the signed URL.
post/v1/documents/{id}/confirm
Request
- Base URLhttps://sandbox.api.infinite.dev
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Headers
X-API-Keystring
API key
Request body
Example request
{
"fileHash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
}Response
Upload confirmed successfully
Example response
{
"id": "doc_abc123",
"organizationId": "org_xyz789",
"customerId": "cus_abc123",
"transferId": "txn_xyz789",
"documentType": "INVOICE",
"documentSubtype": "BANK_STATEMENT",
"fileName": "invoice-2026-001.pdf",
"contentType": "application/pdf",
"sizeBytes": 1024000,
"status": "UPLOADED"
}Changes
- warning
added the new
LIVENESS_CHECKenum value to theresponse property for the response status
- warning