Skip to navigation

Get an evidence upload URL

Presigned PUT for one evidence file. Upload with the exact Content-Type and size, then register it with POST .../disputes/evidence.

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

Response

Upload URL
disputeIdstringOptional
evidenceIdstringOptional
keystringOptional
uploadUrlstringOptionalformat: "uri"
methodstringOptional
contentTypestringOptional
sizeBytesintegerOptional
expiresInintegerOptional

Errors

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