{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/whitebit/json-schema/whitebit-sub-account-transfer-schema.json",
  "title": "SubAccountTransfer",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/whitebit-sub-account-api-openapi.yml#/components/schemas/SubAccountTransfer",
  "type": "object",
  "properties": {
    "transaction_id": {
      "type": "string",
      "description": "Transaction identifier. Same value as id. Correlate with the transfer endpoint response using the transaction_id field."
    },
    "id": {
      "type": "string",
      "description": "Transfer identifier",
      "deprecated": true
    },
    "direction": {
      "type": "string",
      "description": "Transfer direction (main_to_sub or sub_to_main)"
    },
    "currency": {
      "type": "string",
      "description": "Currency transferred"
    },
    "amount": {
      "type": "string",
      "description": "Transfer amount"
    },
    "createdAt": {
      "type": "integer",
      "description": "Transfer creation timestamp"
    }
  }
}