---
updatedAt: 2026-06-02T20:06:00.000Z
agentTools:
  projectIndex: https://docs.zerohash.com/llms.txt
---

# Get quote

Retrieves a quote for the purchase or sale of a given asset. Exactly one of `quantity` or `total` must be supplied in the request body.

**EU platforms:** `EUR` is supported as the `quoted_currency`.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "zerohash API",
    "description": "\n### Authentication\n\nzerohash Uses HMAC SHA-256 verification to ensure the authenticity of API requests, follow instructions by link [https://docs.zerohash.com/reference/api-authentication](https://docs.zerohash.com/reference/api-authentication)\n\n<a href=\"/zh-swagger.json\">Download zerohash OpenAPI Schema as JSON</a>\n",
    "version": "1.7.0"
  },
  "servers": [
    {
      "url": "https://api.cert.zerohash.com",
      "description": "Certification API server"
    }
  ],
  "x-readme": {
    "proxy-enabled": false
  },
  "tags": [
    {
      "name": "Liquidity",
      "description": "Request For Quote and Execution Services"
    }
  ],
  "paths": {
    "/liquidity/rfq": {
      "post": {
        "tags": [
          "Liquidity"
        ],
        "summary": "Get quote",
        "description": "Retrieves a quote for the purchase or sale of a given asset. Exactly one of `quantity` or `total` must be supplied in the request body.\n\n**EU platforms:** `EUR` is supported as the `quoted_currency`.",
        "parameters": [
          {
            "$ref": "#/components/parameters/Signature"
          },
          {
            "$ref": "#/components/parameters/Timestamp"
          }
        ],
        "requestBody": {
          "description": "Request for quote parameters. Select the variant that matches whether the quote includes custom spread, fees, or payment processor metadata.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostRequestForQuoteBody"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Successfully generated quote. Returns the quote envelope (`{ message: {...} }`) with pricing and an ephemeral `quote_id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostRequestForQuoteResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Code400"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Code403"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Code404"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Code500"
                }
              }
            }
          },
          "503": {
            "description": "Service Unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Code503"
                }
              }
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "apiKey": [],
      "apiPassphrase": []
    }
  ],
  "components": {
    "securitySchemes": {
      "apiKey": {
        "type": "apiKey",
        "description": "Your API public key. See the [Authentication guide](https://docs.zerohash.com/reference/api-authentication) for how to obtain keys.",
        "in": "header",
        "name": "X-SCX-API-KEY"
      },
      "apiPassphrase": {
        "type": "apiKey",
        "description": "The passphrase associated with your API key, set when the key was created.",
        "in": "header",
        "name": "X-SCX-PASSPHRASE"
      }
    },
    "parameters": {
      "Signature": {
        "name": "X-SCX-SIGNED",
        "in": "header",
        "description": "HMAC-SHA256 signature of the request, base64-encoded. See the [Authentication guide](https://docs.zerohash.com/reference/api-authentication) for the exact signing formula.",
        "required": true,
        "schema": {
          "type": "string"
        }
      },
      "Timestamp": {
        "name": "X-SCX-TIMESTAMP",
        "in": "header",
        "description": "Current Unix timestamp in seconds. Must be within 60 seconds of server time or the request is rejected.",
        "required": true,
        "schema": {
          "type": "string",
          "example": "1678901234"
        }
      }
    },
    "schemas": {
      "Code400": {
        "type": "object",
        "description": "Request was rejected by validation or a downstream service. `errors` is an array of human-readable messages; each entry describes a single validation failure or business-rule violation.",
        "required": [
          "errors"
        ],
        "properties": {
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "example": [
              "body/amount must be >= 0",
              "body/asset is required"
            ]
          }
        }
      },
      "Code403": {
        "type": "object",
        "description": "Authentication or authorization failed. `error` is always `true`; `message` explains which check failed (missing API key, bad signature, insufficient permission, etc.).",
        "required": [
          "error",
          "message"
        ],
        "properties": {
          "error": {
            "type": "boolean",
            "example": true
          },
          "message": {
            "type": "string",
            "example": "This api key does not have write permission to this endpoint"
          }
        }
      },
      "Code404": {
        "type": "object",
        "description": "The requested resource does not exist or is not visible to the caller.",
        "required": [
          "error"
        ],
        "properties": {
          "error": {
            "type": "string",
            "example": "Not Found"
          }
        }
      },
      "Code500": {
        "type": "object",
        "description": "An unexpected error occurred on the server. The request can be retried after a short delay, but the same inputs may reproduce the error.",
        "required": [
          "error"
        ],
        "properties": {
          "error": {
            "type": "string",
            "example": "Internal Server Error"
          }
        }
      },
      "Code503": {
        "type": "object",
        "description": "A downstream dependency was unavailable, timed out, or returned a retryable error. Safe to retry; the response carries an `x-zh-allowretry: true` header. Every error response also carries an `x-zh-errorcode` header with a machine-readable error code (`unknown` when the failing service does not supply one).",
        "required": [
          "error"
        ],
        "properties": {
          "error": {
            "type": "string",
            "example": "Service Unavailable"
          }
        }
      },
      "PostRequestForQuoteResponse": {
        "type": "object",
        "properties": {
          "message": {
            "oneOf": [
              {
                "title": "RFQ Base Response",
                "description": "Response for a request for quote with base fields specified",
                "type": "object",
                "properties": {
                  "request_id": {
                    "type": "string",
                    "description": "The identifier of the RFQ",
                    "example": "ce819fe8-b1d7-43bb-961c-e09ede0988d3"
                  },
                  "participant_code": {
                    "type": "string",
                    "description": "The identifier of the participant making the quote request",
                    "example": "CUST01"
                  },
                  "quoted_currency": {
                    "$ref": "#/components/schemas/LiquidityEnabledQuotedCurrency"
                  },
                  "side": {
                    "type": "string",
                    "description": "The participant side of the quote - `buy` or `sell`",
                    "example": "buy",
                    "enum": [
                      "buy",
                      "sell"
                    ]
                  },
                  "quantity": {
                    "type": "string",
                    "description": "The amount of the underlying currency",
                    "example": "1"
                  },
                  "price": {
                    "type": "string",
                    "description": "The cost per unit of underlying currency",
                    "example": "11430.90"
                  },
                  "quote_id": {
                    "type": "string",
                    "description": "The identifier for the quote\nNote: this is required to execute the quote",
                    "example": "32ad471b-824e-4f04-94ff-45c4439b4fe9"
                  },
                  "expire_ts": {
                    "type": "number",
                    "description": "Timestamp when the quote will expire",
                    "example": 1568311649602
                  },
                  "account_group": {
                    "type": "string",
                    "description": "The group that the account is a part of",
                    "example": "GRP001"
                  },
                  "account_label": {
                    "type": "string",
                    "description": "The account label associated with the account",
                    "example": "sub_account_test"
                  },
                  "obo_participant": {
                    "$ref": "#/components/schemas/OBOParticipantEntity"
                  },
                  "total_notional": {
                    "type": "string",
                    "description": "Total notional is the full cost inclusive of fees or the total proceeds after fees",
                    "example": "2.00"
                  },
                  "underlying": {
                    "$ref": "#/components/schemas/LiquidityEnabledUnderlyingCurrency"
                  },
                  "asset_cost_notional": {
                    "type": "string",
                    "description": "asset_cost_notional is a field that shows the notional cost of the asset",
                    "maxLength": 50,
                    "example": "2.00"
                  },
                  "spread_notional": {
                    "type": "string",
                    "description": "The notional of the spread applied to the quote",
                    "maxLength": 50,
                    "example": "2.12"
                  },
                  "spread_bps": {
                    "type": "string",
                    "description": "The spread in basis points applied to the quote",
                    "maxLength": 50,
                    "example": "50"
                  },
                  "commission_notional": {
                    "type": "string",
                    "description": "The notional commission applied to the quote",
                    "maxLength": 50,
                    "example": "5.00"
                  },
                  "commission_bps": {
                    "type": "string",
                    "description": "The commission in basis points applied to the quote",
                    "maxLength": 50,
                    "example": "25"
                  }
                }
              },
              {
                "title": "RFQ Fees Response",
                "description": "Response for a request for quote with fees specified",
                "type": "object",
                "properties": {
                  "request_id": {
                    "type": "string",
                    "description": "The identifier of the RFQ",
                    "example": "ce819fe8-b1d7-43bb-961c-e09ede0988d3"
                  },
                  "participant_code": {
                    "type": "string",
                    "description": "The identifier of the participant making the quote request",
                    "example": "CUST01"
                  },
                  "quoted_currency": {
                    "$ref": "#/components/schemas/LiquidityEnabledQuotedCurrency"
                  },
                  "side": {
                    "type": "string",
                    "description": "The participant side of the quote - `buy` or `sell`",
                    "example": "buy",
                    "enum": [
                      "buy",
                      "sell"
                    ]
                  },
                  "quantity": {
                    "type": "string",
                    "description": "The amount of the underlying currency",
                    "example": "1"
                  },
                  "price": {
                    "type": "string",
                    "description": "The cost per unit of underlying currency",
                    "example": "11430.90"
                  },
                  "quote_id": {
                    "type": "string",
                    "description": "The identifier for the quote\nNote: this is required to execute the quote",
                    "example": "32ad471b-824e-4f04-94ff-45c4439b4fe9"
                  },
                  "expire_ts": {
                    "type": "number",
                    "description": "Timestamp when the quote will expire",
                    "example": 1568311649602
                  },
                  "account_group": {
                    "type": "string",
                    "description": "The group that the account is a part of",
                    "example": "GRP001"
                  },
                  "account_label": {
                    "type": "string",
                    "description": "The account label associated with the account",
                    "example": "sub_account_test"
                  },
                  "obo_participant": {
                    "$ref": "#/components/schemas/OBOParticipantEntity"
                  },
                  "total_notional": {
                    "type": "string",
                    "description": "Total notional is the full cost inclusive of fees or the total proceeds after fees",
                    "example": "2.00"
                  },
                  "underlying": {
                    "$ref": "#/components/schemas/LiquidityEnabledUnderlyingCurrency"
                  },
                  "asset_cost_notional": {
                    "type": "string",
                    "description": "asset_cost_notional is a field that shows the notional cost of the asset",
                    "maxLength": 50,
                    "example": "2.00"
                  },
                  "spread_notional": {
                    "type": "string",
                    "description": "The notional of the spread applied to the quote",
                    "maxLength": 50,
                    "example": "2.12"
                  },
                  "spread_bps": {
                    "type": "string",
                    "description": "The spread in basis points applied to the quote",
                    "maxLength": 50,
                    "example": "50"
                  },
                  "commission_notional": {
                    "type": "string",
                    "description": "The notional commission applied to the quote",
                    "maxLength": 50,
                    "example": "5.00"
                  },
                  "commission_bps": {
                    "type": "string",
                    "description": "The commission in basis points applied to the quote",
                    "maxLength": 50,
                    "example": "25"
                  },
                  "fees": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/DynamicFee"
                    }
                  }
                }
              },
              {
                "title": "RFQ Payment Processing Fees Response",
                "description": "Response for a request for quote with payment processing fees specified",
                "type": "object",
                "properties": {
                  "request_id": {
                    "type": "string",
                    "description": "The identifier of the RFQ",
                    "example": "ce819fe8-b1d7-43bb-961c-e09ede0988d3"
                  },
                  "participant_code": {
                    "type": "string",
                    "description": "The identifier of the participant making the quote request",
                    "example": "CUST01"
                  },
                  "quoted_currency": {
                    "$ref": "#/components/schemas/LiquidityEnabledQuotedCurrency"
                  },
                  "side": {
                    "type": "string",
                    "description": "The participant side of the quote - `buy` or `sell`",
                    "example": "buy",
                    "enum": [
                      "buy",
                      "sell"
                    ]
                  },
                  "quantity": {
                    "type": "string",
                    "description": "The amount of the underlying currency",
                    "example": "1"
                  },
                  "price": {
                    "type": "string",
                    "description": "The cost per unit of underlying currency",
                    "example": "11430.90"
                  },
                  "quote_id": {
                    "type": "string",
                    "description": "The identifier for the quote\nNote: this is required to execute the quote",
                    "example": "32ad471b-824e-4f04-94ff-45c4439b4fe9"
                  },
                  "expire_ts": {
                    "type": "number",
                    "description": "Timestamp when the quote will expire",
                    "example": 1568311649602
                  },
                  "account_group": {
                    "type": "string",
                    "description": "The group that the account is a part of",
                    "example": "GRP001"
                  },
                  "account_label": {
                    "type": "string",
                    "description": "The account label associated with the account",
                    "example": "sub_account_test"
                  },
                  "obo_participant": {
                    "$ref": "#/components/schemas/OBOParticipantEntity"
                  },
                  "total_notional": {
                    "type": "string",
                    "description": "Total notional is the full cost inclusive of fees or the total proceeds after fees",
                    "example": "2.00"
                  },
                  "underlying": {
                    "$ref": "#/components/schemas/LiquidityEnabledUnderlyingCurrency"
                  },
                  "asset_cost_notional": {
                    "type": "string",
                    "description": "asset_cost_notional is a field that shows the notional cost of the asset",
                    "maxLength": 50,
                    "example": "2.00"
                  },
                  "spread_notional": {
                    "type": "string",
                    "description": "The notional of the spread applied to the quote",
                    "maxLength": 50,
                    "example": "2.12"
                  },
                  "spread_bps": {
                    "type": "string",
                    "description": "The spread in basis points applied to the quote",
                    "maxLength": 50,
                    "example": "50"
                  },
                  "commission_notional": {
                    "type": "string",
                    "description": "The notional commission applied to the quote",
                    "maxLength": 50,
                    "example": "5.00"
                  },
                  "commission_bps": {
                    "type": "string",
                    "description": "The commission in basis points applied to the quote",
                    "maxLength": 50,
                    "example": "25"
                  },
                  "fees": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/DynamicFee"
                    }
                  },
                  "payment_processor": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "description": "The name of the payment processor",
                        "example": "checkout.com"
                      },
                      "id": {
                        "type": "string",
                        "description": "The unique identifier of the payment according to the PSP",
                        "example": "593dd810-f051-40a9-9f26-d45280efe8f3"
                      }
                    }
                  }
                }
              },
              {
                "title": "RFQ Response with issuer fees applied",
                "description": "Response for a quote where the token issuer has applied fees.",
                "type": "object",
                "properties": {
                  "request_id": {
                    "type": "string",
                    "description": "The identifier of the RFQ",
                    "example": "ce819fe8-b1d7-43bb-961c-e09ede0988d3"
                  },
                  "participant_code": {
                    "type": "string",
                    "description": "The identifier of the participant making the quote request",
                    "example": "CUST01"
                  },
                  "quoted_currency": {
                    "$ref": "#/components/schemas/LiquidityEnabledQuotedCurrency"
                  },
                  "side": {
                    "type": "string",
                    "description": "The participant side of the quote - `buy` or `sell`",
                    "example": "buy",
                    "enum": [
                      "buy",
                      "sell"
                    ]
                  },
                  "quantity": {
                    "type": "string",
                    "description": "The amount of the underlying currency",
                    "example": "1"
                  },
                  "price": {
                    "type": "string",
                    "description": "The cost per unit of underlying currency",
                    "example": "11430.90"
                  },
                  "quote_id": {
                    "type": "string",
                    "description": "The identifier for the quote\nNote: this is required to execute the quote",
                    "example": "32ad471b-824e-4f04-94ff-45c4439b4fe9"
                  },
                  "expire_ts": {
                    "type": "number",
                    "description": "Timestamp when the quote will expire",
                    "example": 1568311649602
                  },
                  "account_group": {
                    "type": "string",
                    "description": "The group that the account is a part of",
                    "example": "GRP001"
                  },
                  "account_label": {
                    "type": "string",
                    "description": "The account label associated with the account",
                    "example": "sub_account_test"
                  },
                  "obo_participant": {
                    "$ref": "#/components/schemas/OBOParticipantEntity"
                  },
                  "total_notional": {
                    "type": "string",
                    "description": "Total notional is the full cost inclusive of fees or the total proceeds after fees",
                    "example": "2.00"
                  },
                  "underlying": {
                    "$ref": "#/components/schemas/LiquidityEnabledUnderlyingCurrency"
                  },
                  "asset_cost_notional": {
                    "type": "string",
                    "description": "asset_cost_notional is a field that shows the notional cost of the asset",
                    "maxLength": 50,
                    "example": "2.00"
                  },
                  "spread_notional": {
                    "type": "string",
                    "description": "The notional of the spread applied to the quote",
                    "maxLength": 50,
                    "example": "2.12"
                  },
                  "spread_bps": {
                    "type": "string",
                    "description": "The spread in basis points applied to the quote",
                    "maxLength": 50,
                    "example": "50"
                  },
                  "commission_notional": {
                    "type": "string",
                    "description": "The notional commission applied to the quote",
                    "maxLength": 50,
                    "example": "5.00"
                  },
                  "commission_bps": {
                    "type": "string",
                    "description": "The commission in basis points applied to the quote",
                    "maxLength": 50,
                    "example": "25"
                  },
                  "issuer_fee_payor_type": {
                    "type": "string",
                    "description": "Quote issuer fee payor type",
                    "example": "CUSTOMER",
                    "enum": [
                      "CUSTOMER",
                      "PLATFORM"
                    ]
                  },
                  "issuer_fee_rate": {
                    "type": "string",
                    "description": "The issuer fee in basis points applied to the quote",
                    "maxLength": 50,
                    "example": "50"
                  },
                  "issuer_fee_amount": {
                    "type": "string",
                    "description": "The notional of the issuer fee applied to the quote",
                    "maxLength": 50,
                    "example": "1.5"
                  }
                }
              },
              {
                "title": "RFQ Full Response",
                "description": "Response for a request for quote with all details specified",
                "type": "object",
                "properties": {
                  "request_id": {
                    "type": "string",
                    "description": "The identifier of the RFQ",
                    "example": "ce819fe8-b1d7-43bb-961c-e09ede0988d3"
                  },
                  "participant_code": {
                    "type": "string",
                    "description": "The identifier of the participant making the quote request",
                    "example": "CUST01"
                  },
                  "quoted_currency": {
                    "$ref": "#/components/schemas/LiquidityEnabledQuotedCurrency"
                  },
                  "side": {
                    "type": "string",
                    "description": "The participant side of the quote - `buy` or `sell`",
                    "example": "buy",
                    "enum": [
                      "buy",
                      "sell"
                    ]
                  },
                  "quantity": {
                    "type": "string",
                    "description": "The amount of the underlying currency",
                    "example": "1"
                  },
                  "price": {
                    "type": "string",
                    "description": "The cost per unit of underlying currency",
                    "example": "11430.90"
                  },
                  "quote_id": {
                    "type": "string",
                    "description": "The identifier for the quote\nNote: this is required to execute the quote",
                    "example": "32ad471b-824e-4f04-94ff-45c4439b4fe9"
                  },
                  "expire_ts": {
                    "type": "number",
                    "description": "Timestamp when the quote will expire",
                    "example": 1568311649602
                  },
                  "account_group": {
                    "type": "string",
                    "description": "The group that the account is a part of",
                    "example": "GRP001"
                  },
                  "account_label": {
                    "type": "string",
                    "description": "The account label associated with the account",
                    "example": "sub_account_test"
                  },
                  "obo_participant": {
                    "$ref": "#/components/schemas/OBOParticipantEntity"
                  },
                  "total_notional": {
                    "type": "string",
                    "description": "Total notional is the full cost inclusive of fees or the total proceeds after fees",
                    "example": "2.00"
                  },
                  "underlying": {
                    "$ref": "#/components/schemas/LiquidityEnabledUnderlyingCurrency"
                  },
                  "asset_cost_notional": {
                    "type": "string",
                    "description": "asset_cost_notional is a field that shows the notional cost of the asset",
                    "maxLength": 50,
                    "example": "2.00"
                  },
                  "spread_notional": {
                    "type": "string",
                    "description": "The notional of the spread applied to the quote",
                    "maxLength": 50,
                    "example": "2.12"
                  },
                  "spread_bps": {
                    "type": "string",
                    "description": "The spread in basis points applied to the quote",
                    "maxLength": 50,
                    "example": "50"
                  },
                  "commission_notional": {
                    "type": "string",
                    "description": "The notional commission applied to the quote",
                    "maxLength": 50,
                    "example": "5.00"
                  },
                  "commission_bps": {
                    "type": "string",
                    "description": "The commission in basis points applied to the quote",
                    "maxLength": 50,
                    "example": "25"
                  },
                  "issuer_fee_payor_type": {
                    "type": "string",
                    "description": "Quote issuer fee payor type",
                    "example": "CUSTOMER",
                    "enum": [
                      "CUSTOMER",
                      "PLATFORM"
                    ]
                  },
                  "issuer_fee_rate": {
                    "type": "string",
                    "description": "The issuer fee in basis points applied to the quote",
                    "maxLength": 50,
                    "example": "50"
                  },
                  "issuer_fee_amount": {
                    "type": "string",
                    "description": "The notional of the issuer fee applied to the quote",
                    "maxLength": 50,
                    "example": "1.5"
                  },
                  "fees": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/DynamicFee"
                    }
                  },
                  "payment_processor": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "description": "The name of the payment processor",
                        "example": "checkout.com"
                      },
                      "id": {
                        "type": "string",
                        "description": "The unique identifier of the payment according to the PSP",
                        "example": "593dd810-f051-40a9-9f26-d45280efe8f3"
                      }
                    }
                  },
                  "settlement_type": {
                    "type": "string",
                    "description": "Quote settlement type",
                    "example": "STANDARD",
                    "enum": [
                      "STANDARD"
                    ]
                  }
                }
              }
            ]
          }
        }
      },
      "PostRequestForQuoteBody": {
        "anyOf": [
          {
            "title": "RFQ Base - Quantity",
            "description": "Request for quote with `quantity` specified",
            "type": "object",
            "properties": {
              "participant_code": {
                "type": "string",
                "description": "The participant code",
                "example": "CUST01"
              },
              "account_label": {
                "type": "string",
                "description": "The account_label that's used to fund the trade. Case sensitive.",
                "example": "general"
              },
              "side": {
                "type": "string",
                "enum": [
                  "buy",
                  "sell"
                ],
                "description": "The side of the transaction",
                "example": "buy"
              },
              "underlying": {
                "$ref": "#/components/schemas/LiquidityEnabledUnderlyingCurrency"
              },
              "quoted_currency": {
                "$ref": "#/components/schemas/LiquidityEnabledQuotedCurrency"
              },
              "quantity": {
                "type": "string",
                "description": "The `quantity` of the `underlying` asset requested in the quote. Exactly one of `quantity` or `total` must be supplied.",
                "example": "1.00"
              }
            },
            "required": [
              "side",
              "underlying",
              "quoted_currency",
              "quantity"
            ]
          },
          {
            "title": "RFQ Base - Total",
            "description": "Request for quote with `total` specified",
            "type": "object",
            "properties": {
              "participant_code": {
                "type": "string",
                "description": "The participant code",
                "example": "CUST01"
              },
              "account_label": {
                "type": "string",
                "description": "The account_label that's used to fund the trade. Case sensitive.",
                "example": "general"
              },
              "side": {
                "type": "string",
                "enum": [
                  "buy",
                  "sell"
                ],
                "description": "The side of the transaction",
                "example": "buy"
              },
              "underlying": {
                "$ref": "#/components/schemas/LiquidityEnabledUnderlyingCurrency"
              },
              "quoted_currency": {
                "$ref": "#/components/schemas/LiquidityEnabledQuotedCurrency"
              },
              "total": {
                "type": "string",
                "description": "The total amount of the `quoted_currency` requested in the quote. Exactly one of `quantity` or `total` must be supplied.",
                "example": "3600.00"
              }
            },
            "required": [
              "side",
              "underlying",
              "quoted_currency",
              "total"
            ]
          },
          {
            "title": "RFQ Custom Spread - Quantity",
            "description": "Request for quote with custom `spread` and `quantity` specified",
            "type": "object",
            "properties": {
              "participant_code": {
                "type": "string",
                "description": "The participant code",
                "example": "CUST01"
              },
              "account_label": {
                "type": "string",
                "description": "The account_label that's used to fund the trade. Case sensitive.",
                "example": "general"
              },
              "side": {
                "type": "string",
                "enum": [
                  "buy",
                  "sell"
                ],
                "description": "The side of the transaction",
                "example": "buy"
              },
              "underlying": {
                "$ref": "#/components/schemas/LiquidityEnabledUnderlyingCurrency"
              },
              "quoted_currency": {
                "$ref": "#/components/schemas/LiquidityEnabledQuotedCurrency"
              },
              "quantity": {
                "type": "string",
                "description": "The `quantity` of the `underlying` asset requested in the quote. Exactly one of `quantity` or `total` must be supplied.",
                "example": "1.00"
              },
              "spread": {
                "type": "string",
                "description": "Define the quote spread in basis points",
                "example": "30"
              }
            },
            "required": [
              "side",
              "underlying",
              "quoted_currency",
              "quantity"
            ]
          },
          {
            "title": "RFQ Custom Spread - Total",
            "description": "Request for quote with custom `spread` and `total` specified",
            "type": "object",
            "properties": {
              "participant_code": {
                "type": "string",
                "description": "The participant code",
                "example": "CUST01"
              },
              "account_label": {
                "type": "string",
                "description": "The account_label that's used to fund the trade. Case sensitive.",
                "example": "general"
              },
              "side": {
                "type": "string",
                "enum": [
                  "buy",
                  "sell"
                ],
                "description": "The side of the transaction",
                "example": "buy"
              },
              "underlying": {
                "$ref": "#/components/schemas/LiquidityEnabledUnderlyingCurrency"
              },
              "quoted_currency": {
                "$ref": "#/components/schemas/LiquidityEnabledQuotedCurrency"
              },
              "total": {
                "type": "string",
                "description": "The total amount of the `quoted_currency` requested in the quote. Exactly one of `quantity` or `total` must be supplied.",
                "example": "3600.00"
              },
              "spread": {
                "type": "string",
                "description": "Define the quote spread in basis points",
                "example": "30"
              }
            },
            "required": [
              "side",
              "underlying",
              "quoted_currency",
              "total"
            ]
          },
          {
            "title": "RFQ Custom Commission - Quantity",
            "description": "Request for quote with custom `commission` and `quantity` specified. Only allowed when the commission feature is enabled.",
            "type": "object",
            "properties": {
              "participant_code": {
                "type": "string",
                "description": "The participant code",
                "example": "CUST01"
              },
              "account_label": {
                "type": "string",
                "description": "The account_label that's used to fund the trade. Case sensitive.",
                "example": "general"
              },
              "side": {
                "type": "string",
                "enum": [
                  "buy",
                  "sell"
                ],
                "description": "The side of the transaction",
                "example": "buy"
              },
              "underlying": {
                "$ref": "#/components/schemas/LiquidityEnabledUnderlyingCurrency"
              },
              "quoted_currency": {
                "$ref": "#/components/schemas/LiquidityEnabledQuotedCurrency"
              },
              "quantity": {
                "type": "string",
                "description": "The `quantity` of the `underlying` asset requested in the quote. Exactly one of `quantity` or `total` must be supplied.",
                "example": "1.00"
              },
              "commission": {
                "type": "string",
                "description": "Define the quote commission in basis points. Only allowed when the commission feature is enabled for the platform. Mutually exclusive with spread.",
                "example": "30"
              }
            },
            "required": [
              "side",
              "underlying",
              "quoted_currency",
              "quantity"
            ]
          },
          {
            "title": "RFQ Custom Commission - Total",
            "description": "Request for quote with custom `commission` and `total` specified. Only allowed when the commission feature is enabled.",
            "type": "object",
            "properties": {
              "participant_code": {
                "type": "string",
                "description": "The participant code",
                "example": "CUST01"
              },
              "account_label": {
                "type": "string",
                "description": "The account_label that's used to fund the trade. Case sensitive.",
                "example": "general"
              },
              "side": {
                "type": "string",
                "enum": [
                  "buy",
                  "sell"
                ],
                "description": "The side of the transaction",
                "example": "buy"
              },
              "underlying": {
                "$ref": "#/components/schemas/LiquidityEnabledUnderlyingCurrency"
              },
              "quoted_currency": {
                "$ref": "#/components/schemas/LiquidityEnabledQuotedCurrency"
              },
              "total": {
                "type": "string",
                "description": "The total amount of the `quoted_currency` requested in the quote. Exactly one of `quantity` or `total` must be supplied.",
                "example": "3600.00"
              },
              "commission": {
                "type": "string",
                "description": "Define the quote commission in basis points. Only allowed when the commission feature is enabled for the platform. Mutually exclusive with spread.",
                "example": "30"
              }
            },
            "required": [
              "side",
              "underlying",
              "quoted_currency",
              "total"
            ]
          },
          {
            "title": "RFQ Fees - Quantity",
            "description": "Request for quote with `quantity` and `fees` specified",
            "type": "object",
            "properties": {
              "participant_code": {
                "type": "string",
                "description": "The participant code",
                "example": "CUST01"
              },
              "account_label": {
                "type": "string",
                "description": "The account_label that's used to fund the trade. Case sensitive.",
                "example": "general"
              },
              "side": {
                "type": "string",
                "enum": [
                  "buy",
                  "sell"
                ],
                "description": "The side of the transaction",
                "example": "buy"
              },
              "underlying": {
                "$ref": "#/components/schemas/LiquidityEnabledUnderlyingCurrency"
              },
              "quoted_currency": {
                "$ref": "#/components/schemas/LiquidityEnabledQuotedCurrency"
              },
              "quantity": {
                "type": "string",
                "description": "The `quantity` of the `underlying` asset requested in the quote. Exactly one of `quantity` or `total` must be supplied.",
                "example": "1.00"
              },
              "fees": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/DynamicFeeRequest"
                }
              }
            },
            "required": [
              "side",
              "underlying",
              "quoted_currency",
              "quantity",
              "fees"
            ]
          },
          {
            "title": "RFQ Fees - Total",
            "description": "Request for quote with `total` and `fees` specified",
            "type": "object",
            "properties": {
              "participant_code": {
                "type": "string",
                "description": "The participant code",
                "example": "CUST01"
              },
              "account_label": {
                "type": "string",
                "description": "The account_label that's used to fund the trade. Case sensitive.",
                "example": "general"
              },
              "side": {
                "type": "string",
                "enum": [
                  "buy",
                  "sell"
                ],
                "description": "The side of the transaction",
                "example": "buy"
              },
              "underlying": {
                "$ref": "#/components/schemas/LiquidityEnabledUnderlyingCurrency"
              },
              "quoted_currency": {
                "$ref": "#/components/schemas/LiquidityEnabledQuotedCurrency"
              },
              "total": {
                "type": "string",
                "description": "The total amount of the `quoted_currency` requested in the quote. Exactly one of `quantity` or `total` must be supplied.",
                "example": "3600.00"
              },
              "fees": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/DynamicFeeRequest"
                }
              }
            },
            "required": [
              "side",
              "underlying",
              "quoted_currency",
              "total",
              "fees"
            ]
          },
          {
            "title": "RFQ Payment Processor Fees - Quantity",
            "description": "Request for quote with `quantity`, `fees`, and `payment_processor` specified",
            "type": "object",
            "properties": {
              "participant_code": {
                "type": "string",
                "description": "The participant code",
                "example": "CUST01"
              },
              "account_label": {
                "type": "string",
                "description": "The account_label that's used to fund the trade. Case sensitive.",
                "example": "general"
              },
              "side": {
                "type": "string",
                "enum": [
                  "buy",
                  "sell"
                ],
                "description": "The side of the transaction",
                "example": "buy"
              },
              "underlying": {
                "$ref": "#/components/schemas/LiquidityEnabledUnderlyingCurrency"
              },
              "quoted_currency": {
                "$ref": "#/components/schemas/LiquidityEnabledQuotedCurrency"
              },
              "quantity": {
                "type": "string",
                "description": "The `quantity` of the `underlying` asset requested in the quote. Exactly one of `quantity` or `total` must be supplied.",
                "example": "1.00"
              },
              "fees": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/DynamicFeeRequest"
                }
              },
              "payment_processor": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "description": "The name of the payment processor",
                    "example": "checkout.com"
                  },
                  "id": {
                    "type": "string",
                    "description": "The unique identifier of the payment according to the PSP",
                    "example": "593dd810-f051-40a9-9f26-d45280efe8f3"
                  }
                }
              }
            },
            "required": [
              "side",
              "underlying",
              "quoted_currency",
              "quantity",
              "fees",
              "payment_processor"
            ]
          },
          {
            "title": "RFQ Payment Processor Fees - Total",
            "description": "Request for quote with `total`, `fees`, and `payment_processor` specified",
            "type": "object",
            "properties": {
              "participant_code": {
                "type": "string",
                "description": "The participant code",
                "example": "CUST01"
              },
              "account_label": {
                "type": "string",
                "description": "The account_label that's used to fund the trade. Case sensitive.",
                "example": "general"
              },
              "side": {
                "type": "string",
                "enum": [
                  "buy",
                  "sell"
                ],
                "description": "The side of the transaction",
                "example": "buy"
              },
              "underlying": {
                "$ref": "#/components/schemas/LiquidityEnabledUnderlyingCurrency"
              },
              "quoted_currency": {
                "$ref": "#/components/schemas/LiquidityEnabledQuotedCurrency"
              },
              "total": {
                "type": "string",
                "description": "The total amount of the `quoted_currency` requested in the quote. Exactly one of `quantity` or `total` must be supplied.",
                "example": "3600.00"
              },
              "fees": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/DynamicFeeRequest"
                }
              },
              "payment_processor": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "description": "The name of the payment processor",
                    "example": "checkout.com"
                  },
                  "id": {
                    "type": "string",
                    "description": "The unique identifier of the payment according to the PSP",
                    "example": "593dd810-f051-40a9-9f26-d45280efe8f3"
                  }
                }
              }
            },
            "required": [
              "side",
              "underlying",
              "quoted_currency",
              "total",
              "fees",
              "payment_processor"
            ]
          },
          {
            "title": "RFQ Full response",
            "description": "Full response object for a request for quote",
            "type": "object",
            "properties": {
              "participant_code": {
                "type": "string",
                "description": "The participant code",
                "example": "CUST01"
              },
              "account_label": {
                "type": "string",
                "description": "The account_label that's used to fund the trade. Case sensitive.",
                "example": "general"
              },
              "side": {
                "type": "string",
                "enum": [
                  "buy",
                  "sell"
                ],
                "description": "The side of the transaction",
                "example": "buy"
              },
              "underlying": {
                "$ref": "#/components/schemas/LiquidityEnabledUnderlyingCurrency"
              },
              "quoted_currency": {
                "$ref": "#/components/schemas/LiquidityEnabledQuotedCurrency"
              },
              "quantity": {
                "type": "string",
                "description": "The `quantity` of the `underlying` asset requested in the quote. Exactly one of `quantity` or `total` must be supplied.",
                "example": "1.00"
              },
              "total": {
                "type": "string",
                "description": "The total amount of the `quoted_currency` requested in the quote. Exactly one of `quantity` or `total` must be supplied.",
                "example": "3600.00"
              },
              "fees": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/DynamicFeeRequest"
                }
              },
              "spread": {
                "type": "string",
                "description": "Define the quote spread in basis points",
                "example": "30"
              },
              "commission": {
                "type": "string",
                "description": "Define the quote commission in basis points. Only allowed when the commission feature is enabled for the platform. Mutually exclusive with spread.",
                "example": "30"
              },
              "payment_processor": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "description": "The name of the payment processor",
                    "example": "checkout.com"
                  },
                  "id": {
                    "type": "string",
                    "description": "The unique identifier of the payment according to the PSP",
                    "example": "593dd810-f051-40a9-9f26-d45280efe8f3"
                  }
                }
              },
              "quote_expiry": {
                "type": "string",
                "description": "Quote expiration",
                "example": "5s",
                "enum": [
                  "5s",
                  "30s",
                  "1m",
                  "5m",
                  "10m",
                  "15m"
                ]
              },
              "settlement_type": {
                "type": "string",
                "description": "Quote settlement type",
                "example": "STANDARD",
                "enum": [
                  "STANDARD"
                ]
              }
            }
          }
        ]
      },
      "OBOParticipantEntity": {
        "type": "object",
        "properties": {
          "participant_code": {
            "type": "string",
            "description": "The identifier of the participant making the request",
            "example": "CUST01"
          },
          "account_group": {
            "type": "string",
            "description": "The identifier of the the account group",
            "example": "WRD1K0"
          },
          "account_label": {
            "type": "string",
            "description": "The account label associated with the account",
            "example": "general"
          }
        }
      },
      "DynamicFee": {
        "type": "object",
        "required": [
          "name",
          "amount"
        ],
        "properties": {
          "name": {
            "type": "string",
            "example": "sample"
          },
          "amount": {
            "type": "string",
            "example": "1.95"
          }
        }
      },
      "LiquidityEnabledUnderlyingCurrency": {
        "type": "string",
        "description": "The underlying asset in the trading pair. E.g. `BTC` in the pair `BTC/USD`.",
        "example": "BTC",
        "enum": [
          "USDC.OPTIMISM",
          "USDC.SUI",
          "DOT",
          "FIL",
          "PYUSD.ETH",
          "TRX",
          "ZRX",
          "DAI.ETH",
          "USDC.WORLDCHAIN",
          "USDP",
          "USDT.BSC",
          "USDT.CELO",
          "PEPE.ETH",
          "SAND",
          "USDC.DOTHUB",
          "USDC.SEI",
          "USDC.SOL",
          "USDC.ZKSYNC",
          "ENA.ETH",
          "MANA.ETH",
          "PYTH.SOL",
          "SOL",
          "USDC.BASE",
          "USDC.CELO",
          "USDT",
          "ADA",
          "INJ.ETH",
          "MATIC.POLYGON",
          "PAXG",
          "USD",
          "AAVE.ETH",
          "ALGO",
          "EURC.XLM",
          "KNC.ETH",
          "PNUT.SOL",
          "SHIB",
          "BCH",
          "DOGE",
          "EGLD",
          "JTO.SOL",
          "UNI.ETH",
          "USDC",
          "USDC.ARBITRUM",
          "ONDO.ETH",
          "PENGU.SOL",
          "USD",
          "WLFI.ETH",
          "XLM",
          "APT",
          "CC",
          "ETH.OPTIMISM",
          "ETH.WORLDCHAIN",
          "LDO.ETH",
          "MORPHO.ETH",
          "SEI",
          "ETH.ZKSYNC",
          "USDC.AVAX",
          "USDC.XLM",
          "USDT.DOTHUB",
          "USDT.SOL",
          "MANA",
          "USDC.ALGO",
          "MATIC.ETH",
          "NEAR",
          "UNI",
          "USDT.ARBITRUM",
          "USDT.AVAX",
          "OMG",
          "ARB.ARBITRUM",
          "COMP.ETH",
          "GRT.ETH",
          "USDC.POLYGON",
          "AVAX",
          "AAVE",
          "CELO",
          "PYUSD.SOL",
          "PAXG.ETH",
          "USDC.MONAD",
          "BAT",
          "COMP",
          "ETH.ARBITRUM",
          "ETH.BASE",
          "OP.OPTIMISM",
          "TRUMP.SOL",
          "ENJ.ETH",
          "SUI",
          "USDT.ETH",
          "USDT.OPTIMISM",
          "USDT.TRX",
          "USDT.XPL",
          "OMG.ETH",
          "XRP",
          "HBAR",
          "USDC.APT",
          "USDC.ETH",
          "BNB",
          "ATOM",
          "BAT.ETH",
          "GRT",
          "LINK.ETH",
          "USDP.SOL",
          "ZK.ZKSYNC",
          "BONK.SOL",
          "KNC",
          "TIA",
          "ZRO.ETH",
          "ZRX.ETH",
          "PUMP.SOL",
          "USD",
          "XTZ",
          "CRV.ETH",
          "GALA.ETH",
          "TON",
          "USDT.POLYGON",
          "WBTC.ETH",
          "XPL",
          "BTC",
          "MON",
          "SHIB.ETH",
          "USDC.BSC",
          "WLD.WORLDCHAIN",
          "W.SOL",
          "LTC",
          "RLUSD.ETH",
          "WBTC",
          "LINK",
          "USDCX.CANTON",
          "ETH",
          "WIF.SOL",
          "APE.ETH",
          "EURC",
          "MKR.ETH",
          "RLUSD.XRP"
        ]
      },
      "LiquidityEnabledQuotedCurrency": {
        "type": "string",
        "description": "The quoted currency in the trading pair. E.g. `USD` in the pair `BTC/USD`.",
        "example": "USD",
        "enum": [
          "USD",
          "EUR",
          "USDC.ETH"
        ]
      },
      "DynamicFeeRequest": {
        "type": "object",
        "required": [
          "name",
          "amount"
        ],
        "properties": {
          "name": {
            "type": "string",
            "example": "sample"
          },
          "amount": {
            "type": "string",
            "example": "1.95"
          },
          "type": {
            "type": "string",
            "enum": [
              "notional",
              "bps"
            ],
            "description": "Fee amount type. Default is notional",
            "example": "notional"
          }
        }
      }
    }
  }
}
```