API Reference
Upload an operation document
/v1/operations/{operationId}/documentshttps://trace.mimicr.dev · provider: https://api.sandbox.tracefinance.comUploads a compliance document to the operation identified by the path operationId. Upload one when compliance asks for additional proof while the operation is under review; withdrawals, deposits, swaps and transfers all accept it.
The document is uploaded as multipart: a JSON body part carrying the document type, plus a binary file part.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Headers
API version. Omit to use the default version.
"1"Unique key to ensure idempotent request processing. Required on all POST, PUT, and PATCH requests.
Path parameters
UUID of the operation.
Body
multipart/form-dataDescribes a compliance document uploaded for an operation. Sent as the JSON body part of the multipart request; the document file itself is the file part.
Show child attributes
Type of compliance document an operation can be asked to provide. FINANCIAL_CAPACITY proves the funds moved by the operation are compatible with the account holder's financial capacity. INVOICE is the commercial invoice behind a conversion, asked of treasury accounts. Which one is requested comes from the compliance review; the endpoint accepts either.
FINANCIAL_CAPACITYINVOICE"FINANCIAL_CAPACITY"Document file content.
Responses
204Document uploaded.
400Invalid request or missing multipart fields.
Machine-readable error code.
Human-readable description.
401Missing or invalid authentication token.
Machine-readable error code.
Human-readable description.
404Operation not found for the authenticated customer.
Machine-readable error code.
Human-readable description.
413File exceeds the maximum allowed size.
Machine-readable error code.
Human-readable description.
415File type is not supported.
Machine-readable error code.
Human-readable description.