Upload a file for an order requirement
Upload a single file (multipart/form-data) in response to an order requirement on an order that is in AWAITING_INFORMATION status. Call this endpoint once per required file.
Send fileKey (matching a fileKey from requiredFiles on the GET response) and the binary file. Its type must be one of the supported file formats. Fireblocks encrypts each file and uploads it individually to the underlying provider. The textual response is submitted separately via POST /trading/orders/{orderId}/requirement/data.
Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor.
For detailed information about error codes and troubleshooting, please refer to our API Error Codes documentation.
Request
- Base URLhttps://api.fireblocks.io/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The ID of the order to upload the order requirement file for.
Headers
A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.
Request body multipart/form-data
Example request
{
"fileKey": "identity_document",
"file": "<binary file content>"
}Response
File accepted for processing.
Changes
No recorded changes to this operation across all 1 revision of this API.