Kraken · Schema

AmendOrderRequest

AmendOrderRequest schema from Kraken Spot REST API

CryptocurrencyExchangeTradingMarket DataSpot TradingFuturesDerivativesStakingEarnNFTWebSocketFIXCustodyOTCPrime BrokerageEmbedOAuthPublic APIs
View JSON Schema on GitHub

JSON Schema

spot-rest-amend-order-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/kraken/refs/heads/main/json-schema/spot-rest-amend-order-request-schema.json",
  "title": "AmendOrderRequest",
  "description": "AmendOrderRequest schema from Kraken Spot REST API",
  "allOf": [
    {
      "type": "object",
      "description": "All private requests include an incrementing nonce. Optionally an OTP for two-factor-protected keys.",
      "required": [
        "nonce"
      ],
      "properties": {
        "nonce": {
          "type": "integer",
          "format": "int64",
          "example": 1717000000000
        },
        "otp": {
          "type": "string",
          "description": "Two-factor password / OTP if the key is OTP-protected.",
          "example": "123456"
        }
      }
    },
    {
      "type": "object",
      "properties": {
        "txid": {
          "type": "string",
          "example": "OQCLML-BW3P3-BUCMWZ"
        },
        "cl_ord_id": {
          "type": "string",
          "example": "OQCLML-BW3P3-BUCMWZ"
        },
        "order_qty": {
          "type": "string",
          "example": "string"
        },
        "display_qty": {
          "type": "string",
          "example": "string"
        },
        "limit_price": {
          "type": "string",
          "example": "0.01"
        },
        "trigger_price": {
          "type": "string",
          "example": "0.01"
        },
        "post_only": {
          "type": "boolean",
          "example": true
        },
        "deadline": {
          "type": "string",
          "example": "string"
        }
      }
    }
  ]
}