Skip to navigation

Register an uploaded evidence

Registers the file uploaded with the presigned URL. CorpX scans it before staff can open it.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

accountIdstringRequired
Account identifier.
orderIdstringRequired
P2P order identifier.

Headers

X-Tenant-IdstringRequired
Tenant context used for authorization and routing.
X-Acting-DocumentstringOptional

CPF of the human performing the operation. Required on cashout routes when the credential enforces a transaction PIN. On a company P2P profile contact, this CPF is the holder who signs; it is not taken from the body.

Idempotency-KeystringOptional

Optional client-generated idempotency token (recommended for safe retries).

Request

This endpoint expects an object.
filenamestringRequired
contentTypeenumRequired
Allowed values:
sizeBytesintegerRequired<=10485760
keystringRequired
evidenceIdstringRequired

Response

Evidence
disputeIdstringOptional
evidenceIdstringOptional
filenamestringOptional
registeredbooleanOptional
scanStatusstringOptional
Malware scan, when already known.
scanReasonstringOptional

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error