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

# Build Delta cancellation

> Build EIP-712 typed data for cancelling one or more Delta V2 orders before posting the signed cancellation.



## OpenAPI

````yaml api-reference/specs/delta-v2.json POST /v2/delta/orders/build/cancellation
openapi: 3.0.3
info:
  title: Velora Delta API V2
  version: 2.0.0
  description: >-
    Velora Delta API V2 — server-built EIP-712 orders, route-based pricing with
    alternatives, paginated order history, and a unified status model. Ships
    alongside Delta V1; both protocols share the same on-chain contracts.
servers:
  - url: https://api.velora.xyz
    description: Production
security: []
paths:
  /v2/delta/orders/build/cancellation:
    post:
      summary: Build signable Delta V2 cancellation data
      description: >-
        Returns EIP-712 typed data for cancelling one or more Delta V2 orders.
        Sign the returned `toSign` payload, then send the same `orderIds` and
        the signature to `POST /v2/delta/orders/cancel`.
      operationId: deltaV2OrdersBuildCancellation
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BuildOrderCancellationRequest'
      responses:
        '200':
          description: Cancellation EIP-712 typed data ready to sign.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BuiltOrderCancellation'
        '400':
          description: >-
            Unknown order, mismatched user/chain, finalized orders, or too many
            order IDs
components:
  schemas:
    BuildOrderCancellationRequest:
      type: object
      required:
        - orderIds
      properties:
        orderIds:
          type: array
          items:
            type: string
            format: uuid
          minItems: 1
          maxItems: 100
          description: >-
            Delta order IDs to cancel. All orders must belong to the same user
            and source chain.
    BuiltOrderCancellation:
      type: object
      properties:
        toSign:
          type: object
          description: >-
            EIP-712 typed data to sign before calling `POST
            /v2/delta/orders/cancel`.
          properties:
            domain:
              type: object
              properties:
                name:
                  type: string
                version:
                  type: string
                chainId:
                  type: integer
                verifyingContract:
                  type: string
            types:
              type: object
              description: EIP-712 type definitions for `OrderCancellations`.
            value:
              type: object
              properties:
                orderIds:
                  type: array
                  items:
                    type: string
                    format: uuid
        hash:
          type: string
          description: EIP-712 hash of the cancellation payload.

````