> ## Documentation Index
> Fetch the complete documentation index at: https://docs.convallax.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Confirm Quote

> Submit the EIP-712 settlement signature for an accepted quote. Authenticated via the X-API-Key header.

Submit the EIP-712 signature for a quote that was **accepted** (you received a [`quote:accepted`](/api-reference/market-maker/websocket) message on the post-trade WebSocket). Sign the `order` from that message with the wallet key for `order.maker`, then POST the signature here **before** the `confirmationDeadline`.

The backend verifies that your signature recovers to `order.maker`, returns the signed order to the trader, and emits `quote:confirmed` to you (and `quote:rejected` to other makers).

<Warning>
  If you miss the `confirmationDeadline`, the backend falls back to the next-best maker and this endpoint returns `404 no_pending_acceptance`. Keep your USDC approvals set ahead of time so signing is instant.
</Warning>


## OpenAPI

````yaml api-reference/openapi.json POST /v1/mm/quotes/{quoteId}/confirm
openapi: 3.1.0
info:
  title: Convallax RFQ API
  version: 3.0.0
  description: >-
    REST surface for the Convallax options protocol — a non-custodial
    request-for-quote marketplace for European calls and puts on Polymarket YES
    outcomes, settled on Polygon.


    **Wire format**: JSON. Successful responses include `"success": true`;
    failures return `{ "success": false, "error": "..." }`.


    **Authentication**: Takers (traders) need no API key — authorization happens
    on-chain at `fill()`. Market makers authenticate with a per-MM API key sent
    as `X-API-Key` (or `?apiKey=`).


    **Streaming**: Quote-request and live-pricing streams use Server-Sent Events
    and the post-trade channel uses WebSocket; those are documented in the
    guides and are not part of this request/response reference.
servers:
  - url: https://api.convallax.com
    description: Production
security: []
tags:
  - name: Series
    description: Browse registered option series available for trading.
  - name: Trading
    description: Open quote requests, read live quotes, and commit to the best price.
  - name: Market Maker
    description: >-
      Submit quotes and confirmation signatures. Authenticated with a per-MM API
      key.
  - name: Settlement
    description: Compute TWAP resolution prices and sign settlement attestations.
  - name: Testnet
    description: Polygon Amoy testnet USDC faucet.
  - name: User
    description: >-
      Account profile and self-serve API keys. Authenticated with a Privy access
      token.
paths:
  /v1/mm/quotes/{quoteId}/confirm:
    post:
      tags:
        - Market Maker
      summary: Confirm Quote
      description: >-
        Submit the EIP-712 settlement signature for an accepted quote. Sign the
        `order` from the `quote:accepted` WebSocket message with the wallet key
        for `order.maker` and POST it before the `confirmationDeadline`. The
        backend verifies the signature recovers to `order.maker`.
      operationId: confirmQuote
      parameters:
        - $ref: '#/components/parameters/QuoteId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConfirmInput'
      responses:
        '200':
          description: Signature verified; order returned to the trader
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SimpleSuccess'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
      security:
        - ApiKeyAuth: []
components:
  parameters:
    QuoteId:
      name: quoteId
      in: path
      required: true
      description: >-
        Server-generated quote ID from Submit Quote (also echoed in
        `quote:accepted`).
      schema:
        type: string
        example: 8f3c2b1a-1d2e-4c3b-9a8f-6e5d4c3b2a1f
  schemas:
    ConfirmInput:
      type: object
      required:
        - signature
      properties:
        signature:
          type: string
          description: >-
            EIP-712 signature over the order from quote:accepted, signed with
            the order.maker key.
          example: 0xabcdef...
    SimpleSuccess:
      type: object
      required:
        - success
      properties:
        success:
          type: boolean
          const: true
    ErrorResponse:
      type: object
      required:
        - success
        - error
      properties:
        success:
          type: boolean
          const: false
        error:
          type: string
          description: Human-readable error message.
          example: Quote request not found or expired
  responses:
    Error:
      description: Error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        Maker API key (env-issued or self-serve from the dashboard). Maps to a
        stable `makerId`.
      x-default: mk_live_alpha_xxx

````