Revolut · Schema

OrderReplacementRequest

Request to replace an existing open order with a new one, atomically cancelling the original. Only the fields provided in the request are updated; omitted fields are inherited from the original order (with the exception of sizes, which may be recalculated to preserve the counter-side amount — see field docs).

CompanyFintechPaymentsBankingOpen BankingMerchant AcquiringCryptocurrencyCardsConsumer Banking

Properties

Name Type Description
client_order_id string Client-generated unique identifier for the replacement request, used to guarantee idempotency. Retries with the same value will not create duplicate replacements.
base_size string New amount of base currency for the replacement order. If only the price is provided, without the quantity or amount, this parameter will stay the same for SELL orders and be recalculated for BUY orde
quote_size string New amount of quote currency for the replacement order. If only the price is provided, without the quantity or amount, this parameter will stay the same for BUY orders and be recalculated for SELL ord
price string New limit price for the replacement order. If omitted, the original order's price is preserved.
time_in_force string New time in force for the replacement order. If omitted, the original order's time in force is preserved.
execution_instructions array Execution instructions applied to the replacement order, overriding those of the original. Pass an empty array `[]` to explicitly clear all instructions. If the field is omitted entirely, the original
View JSON Schema on GitHub

JSON Schema

revolut-order-replacement-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/revolut/main/json-schema/revolut-order-replacement-request-schema.json",
  "title": "OrderReplacementRequest",
  "description": "Request to replace an existing open order with a new one, atomically cancelling the original.\nOnly the fields provided in the request are updated; omitted fields are inherited from the original order\n(with the exception of sizes, which may be recalculated to preserve the counter-side amount — see field docs).",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/revolut-orders-api-openapi.yml#/components/schemas/OrderReplacementRequest",
  "type": "object",
  "required": [
    "client_order_id"
  ],
  "properties": {
    "client_order_id": {
      "type": "string",
      "format": "uuid",
      "description": "Client-generated unique identifier for the replacement request, used to guarantee idempotency.\nRetries with the same value will not create duplicate replacements."
    },
    "base_size": {
      "type": "string",
      "format": "decimal",
      "description": "New amount of base currency for the replacement order.\nIf only the price is provided, without the quantity or amount, this parameter will stay the same for SELL orders and be recalculated for BUY orders."
    },
    "quote_size": {
      "type": "string",
      "format": "decimal",
      "description": "New amount of quote currency for the replacement order.\nIf only the price is provided, without the quantity or amount, this parameter will stay the same for BUY orders and be recalculated for SELL orders."
    },
    "price": {
      "type": "string",
      "format": "decimal",
      "description": "New limit price for the replacement order.\nIf omitted, the original order's price is preserved."
    },
    "time_in_force": {
      "type": "string",
      "enum": [
        "gtc",
        "ioc"
      ],
      "description": "New time in force for the replacement order.\nIf omitted, the original order's time in force is preserved."
    },
    "execution_instructions": {
      "type": "array",
      "description": "Execution instructions applied to the replacement order, overriding those of the original.\nPass an empty array `[]` to explicitly clear all instructions.\nIf the field is omitted entirely, the original order's instructions are preserved.",
      "minItems": 0,
      "items": {
        "type": "string",
        "enum": [
          "allow_taker",
          "post_only"
        ]
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/revolut-order-replacement-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.