Revolut · Schema

Order

Fiat to crypto exchange order

CompanyFintechPaymentsBankingOpen BankingMerchant AcquiringCryptocurrencyCardsConsumer Banking

Properties

Name Type Description
id string The external UUID of the order.
fiat object The fiat amount that the customer paid for the crypto (excluding fees).
crypto object The crypto amount that the customer received.
fees object The fees for the order.
exchange_rate number The exchange rate for the order.
payment string The [payment method](https://developer.revolut.com/docs/guides/crypto-ramp/introduction-to-revolut-ramp/coverage-and-other-details/payment-options) used for the purchase.
created_at string The UTC date and time of order creation in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
updated_at string The UTC date and time of order update in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
status string The state of order processing.
fail_reason string The reason why the order failed.
wallet string The address of the crypto wallet into which the crypto transfer was ordered.
transaction_hash string The blockchain transaction hash. Absent if no crypto transaction has been created yet. Always present if order is in the `COMPLETED` state.
additionalProperties object The additional properties passed in the call to the [`/buy`](https://developer.revolut.com/docs/api/crypto-ramp#retrieve-a-redirect-url) endpoint under the `additionalProperties.*` query parameter(s),
fees_partner_currency object The fees converted to the partner's currency.
View JSON Schema on GitHub

JSON Schema

revolut-order-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-schema.json",
  "title": "Order",
  "description": "Fiat to crypto exchange order",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/revolut-partners-api-openapi.yml#/components/schemas/Order",
  "type": "object",
  "required": [
    "id",
    "fiat",
    "crypto",
    "fees",
    "exchange_rate",
    "payment",
    "created_at",
    "updated_at",
    "status",
    "wallet",
    "fees_partner_currency"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "The external UUID of the order."
    },
    "fiat": {
      "$ref": "#/$defs/MoneyFiat",
      "description": "The fiat amount that the customer paid for the crypto (excluding fees)."
    },
    "crypto": {
      "$ref": "#/$defs/MoneyCryptoId",
      "description": "The crypto amount that the customer received."
    },
    "fees": {
      "type": "object",
      "description": "The fees for the order.",
      "required": [
        "ramp_fee",
        "partner_fee",
        "network_fee"
      ],
      "properties": {
        "ramp_fee": {
          "$ref": "#/$defs/MoneyFiat",
          "description": "Revolut Ramp fee."
        },
        "partner_fee": {
          "$ref": "#/$defs/MoneyFiat",
          "description": "Partner fee."
        },
        "network_fee": {
          "$ref": "#/$defs/MoneyFiat",
          "description": "Crypto network fee."
        }
      }
    },
    "exchange_rate": {
      "type": "number",
      "format": "float",
      "description": "The exchange rate for the order."
    },
    "payment": {
      "type": "string",
      "enum": [
        "card",
        "revolut",
        "apple-pay",
        "google-pay"
      ],
      "description": "The [payment method](https://developer.revolut.com/docs/guides/crypto-ramp/introduction-to-revolut-ramp/coverage-and-other-details/payment-options) used for the purchase."
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "The UTC date and time of order creation in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format."
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "The UTC date and time of order update in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format."
    },
    "status": {
      "type": "string",
      "enum": [
        "AWAITING_PAYMENT",
        "PROCESSING",
        "COMPLETED",
        "FAILED"
      ],
      "description": "The state of order processing."
    },
    "fail_reason": {
      "type": "string",
      "enum": [
        "PAYMENT_NOT_RECEIVED",
        "PAYMENT_DECLINED",
        "CRYPTO_WITHDRAWAL_FAILED",
        "OTHER"
      ],
      "description": "The reason why the order failed."
    },
    "wallet": {
      "type": "string",
      "description": "The address of the crypto wallet into which the crypto transfer was ordered."
    },
    "transaction_hash": {
      "type": "string",
      "description": "The blockchain transaction hash.\nAbsent if no crypto transaction has been created yet.\nAlways present if order is in the `COMPLETED` state."
    },
    "additionalProperties": {
      "type": "object",
      "description": "The additional properties passed in the call to the [`/buy`](https://developer.revolut.com/docs/api/crypto-ramp#retrieve-a-redirect-url) endpoint under the `additionalProperties.*` query parameter(s), if such properties were provided.",
      "additionalProperties": {
        "type": "string"
      }
    },
    "fees_partner_currency": {
      "type": "object",
      "description": "The fees converted to the partner's currency.",
      "required": [
        "ramp_fee",
        "partner_fee",
        "network_fee"
      ],
      "properties": {
        "ramp_fee": {
          "$ref": "#/$defs/MoneyFiat",
          "description": "Revolut Ramp fee."
        },
        "partner_fee": {
          "$ref": "#/$defs/MoneyFiat",
          "description": "Partner fee."
        },
        "network_fee": {
          "$ref": "#/$defs/MoneyFiat",
          "description": "Crypto network fee."
        }
      }
    }
  },
  "$defs": {
    "CurrencyCryptoId": {
      "type": "string",
      "description": "The ID of the currency, obtained from the [`/config`](https://developer.revolut.com/docs/api/crypto-ramp#retrieve-configuration) endpoint."
    },
    "CurrencyFiat": {
      "type": "string",
      "format": "ISO 4217",
      "description": "The fiat currency [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code."
    },
    "MoneyCryptoId": {
      "type": "object",
      "required": [
        "amount",
        "currencyId"
      ],
      "properties": {
        "amount": {
          "type": "number",
          "format": "float",
          "description": "The amount."
        },
        "currencyId": {
          "$ref": "#/$defs/CurrencyCryptoId"
        }
      }
    },
    "MoneyFiat": {
      "type": "object",
      "required": [
        "amount",
        "currency"
      ],
      "properties": {
        "amount": {
          "type": "number",
          "format": "float",
          "description": "The amount."
        },
        "currency": {
          "$ref": "#/$defs/CurrencyFiat"
        }
      }
    }
  }
}

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"
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.