Skip to main content
GET
/
trading
/
orders
/
{orderId}
/
requirement
TypeScript
const response: Promise<FireblocksResponse<OrderRequirementDetails>> = fireblocks.tradingBeta.getOrderRequirements(tradingBetaApiGetOrderRequirementsRequest);
{
  "requirementId": "info_7c1f9b2e4a6d",
  "requiredData": "{\n  \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n  \"type\": \"object\",\n  \"required\": [\"sourceOfFunds\", \"purposeOfPayment\"],\n  \"properties\": {\n    \"sourceOfFunds\": {\n      \"type\": \"string\",\n      \"enum\": [\"SALARY\", \"SAVINGS\", \"INVESTMENT_RETURNS\", \"BUSINESS_INCOME\", \"OTHER\"]\n    },\n    \"purposeOfPayment\": {\n      \"type\": \"string\",\n      \"enum\": [\"BUSINESS_EXPENSES\", \"PERSONAL_EXPENSES\", \"INVESTMENT\", \"OTHER\"]\n    }\n  }\n}\n",
  "requiredFiles": [
    {
      "fileKey": "identity_document",
      "description": "A clear photo or scan of the account holder's government-issued ID.",
      "allowedFileTypes": [
        "PDF",
        "JPEG",
        "PNG"
      ]
    }
  ],
  "dueBy": "2024-01-15T10:35:00.000Z"
}

Path Parameters

orderId
string
required

The ID of the order for which the order requirement is issued.

Minimum string length: 1

Response

Order requirement details

Order requirement details for an order that is awaiting compliance requirements. Returned by GET /trading/orders/{orderId}/requirement.

requirementId
string
required

Unique identifier of the order requirement request as issued by the provider.

Example:

"info_7c1f9b2e4a6d"

requiredData
string
required

A JSON Schema (Draft-7) in string format describing the shape of the data object expected on the corresponding POST /trading/orders/{orderId}/requirement/data request. The schema is the contract: the client builds the data payload to match it, and SDKs can validate before sending. The string content is expected to be valid JSON (application/json).

Example:

"{\n \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n \"type\": \"object\",\n \"required\": [\"sourceOfFunds\", \"purposeOfPayment\"],\n \"properties\": {\n \"sourceOfFunds\": {\n \"type\": \"string\",\n \"enum\": [\"SALARY\", \"SAVINGS\", \"INVESTMENT_RETURNS\", \"BUSINESS_INCOME\", \"OTHER\"]\n },\n \"purposeOfPayment\": {\n \"type\": \"string\",\n \"enum\": [\"BUSINESS_EXPENSES\", \"PERSONAL_EXPENSES\", \"INVESTMENT\", \"OTHER\"]\n }\n }\n}\n"

requiredFiles
object[]
required

Descriptors for files the provider requires as part of the order requirement response. Empty when no files are required. Each entry's fileKey is used to correlate uploads on the corresponding upload request.

Example:
[
{
"fileKey": "identity_document",
"description": "A clear photo or scan of the account holder's government-issued ID.",
"allowedFileTypes": ["PDF", "JPEG", "PNG"]
}
]
dueBy
string<date-time>

ISO-8601 timestamp indicating when the order requirement submission is due.

Example:

"2024-01-15T10:35:00.000Z"