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

# Place a batch order

> Prepare, approve, sign, and submit an order that settles in the next daily batch, then track or cancel it.

Use a batch order when the user wants a capital provider's posted capacity instead of an instant fill. The user signs the order during the day. After the 5:00 PM New York release, the capital provider's operator executes it on-chain before the order's signed deadline. Orders need no API key; if you send one, an invalid, expired, or revoked key answers `401` with `UNAUTHORIZED`.

> [!NOTE]
>
> Acceptance reserves the capital provider's capacity, not the user's funds. The user's balance, approval, and eligibility must still hold when the order executes, and execution is best effort until the deadline.

## Before you start

* **A capital provider that takes batch orders for the pair.** `GET /v1/swap/pairs` lists them in each pair's `batchCapitalProviders`. [Discovery](https://docs.multiliquid.xyz/api-reference/swap/discovery.md#pairs) describes the list.
* **Open intake and capacity.** `GET /v1/batch-orders/info` returns the `batch`, whose `intakeOpen` says whether it takes orders now, and each capital provider's `acceptingOrders` and `available` capacity per token, in whole tokens. Intake closes at 4:30 PM New York and reopens for the next batch at 5:00 PM. Preparation also checks the order against the capacity left, in `checks.capacity`.

```bash theme={null}
curl "https://api.multiliquid.xyz/v1/batch-orders/info?network=evm-mainnet"
```

```json Response expandable theme={null}
{
  "network": "evm-mainnet",
  "batch": {
    "batchId": "2026-12-01",
    "opensAt": "2026-11-30T22:00:00Z",
    "cutoffAt": "2026-12-01T21:30:00Z",
    "releasesAt": "2026-12-01T22:00:00Z",
    "executionTargetAt": "2026-12-01T22:15:00Z",
    "reportingClosesAt": "2026-12-01T22:30:00Z",
    "intakeOpen": true
  },
  "capitalProviders": [
    {
      "capitalProvider": {
        "id": "0x58e27f2731863499e6a23a1662ebeed9041d6b40996ea9ca7f4ebc54201823b4",
        "name": "Uniform Labs",
        "address": "0x0630582db5a1949509f21b315677c40b9aeb7bda"
      },
      "acceptingOrders": true,
      "capacity": [
        {
          "token": {
            "address": "0x43415eb6ff9db7e26a15b704e7a3edce97d31c4e",
            "symbol": "USTB",
            "name": "Invesco Short Duration US Government Securities Fund",
            "decimals": 6,
            "kind": "rwa",
            "issuer": "Superstate"
          },
          "available": "249904.761905"
        },
        {
          "token": {
            "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
            "symbol": "USDC",
            "name": "USD Coin",
            "decimals": 6,
            "kind": "stablecoin",
            "issuer": "Circle"
          },
          "available": "5000000"
        }
      ]
    }
  ],
  "nextCursor": null
}
```

## 1. Prepare

Name the swap as you would for an instant swap, with the capital provider's `id`. The amount is in whole tokens, with at most 6 decimal places: `1000` is 1,000 USDC.

```bash theme={null}
curl -X POST "https://api.multiliquid.xyz/v1/batch-orders/prepare" \
  -H "Content-Type: application/json" \
  -d '{
    "network": "evm-mainnet",
    "inputToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
    "outputToken": "0x43415eb6ff9db7e26a15b704e7a3edce97d31c4e",
    "amountIn": "1000",
    "capitalProvider": "0x58e27f2731863499e6a23a1662ebeed9041d6b40996ea9ca7f4ebc54201823b4",
    "user": "0x2222222222222222222222222222222222222222"
  }'
```

```json Response expandable theme={null}
{
  "runtime": "evm",
  "order": {
    "network": "evm-mainnet",
    "user": "0x2222222222222222222222222222222222222222",
    "operator": "0x3333333333333333333333333333333333333333",
    "receiver": "0x2222222222222222222222222222222222222222",
    "inputs": [
      {
        "routeId": "0",
        "assetInId": "0x58e27f2731863499e6a23a1662ebeed9041d6b40996ea9ca7f4ebc54201823b4",
        "assetOutId": "0x6f640388b2d2075b1c9f2f195fa3d1e4b26167f5e25357294d44c4b7c877da68",
        "stablecoinDelegateId": "0x58e27f2731863499e6a23a1662ebeed9041d6b40996ea9ca7f4ebc54201823b4",
        "assetInAmt": "1000000000",
        "assetOutAmt": "95238095"
      }
    ],
    "nonce": "49195495019385257848327947155976052168550369645288041991474001324649189794319",
    "deadline": "1796223810"
  },
  "typedData": {
    "types": {
      "EIP712Domain": [
        {
          "name": "name",
          "type": "string"
        },
        {
          "name": "version",
          "type": "string"
        },
        {
          "name": "chainId",
          "type": "uint256"
        },
        {
          "name": "verifyingContract",
          "type": "address"
        }
      ],
      "UnorderedSwapBatchApproval": [
        {
          "name": "user",
          "type": "address"
        },
        {
          "name": "operator",
          "type": "address"
        },
        {
          "name": "receiver",
          "type": "address"
        },
        {
          "name": "inputs",
          "type": "SwapInput[]"
        },
        {
          "name": "nonce",
          "type": "uint256"
        },
        {
          "name": "deadline",
          "type": "uint256"
        }
      ],
      "SwapInput": [
        {
          "name": "routeId",
          "type": "uint256"
        },
        {
          "name": "assetInID",
          "type": "bytes32"
        },
        {
          "name": "assetOutID",
          "type": "bytes32"
        },
        {
          "name": "stablecoinDelegateID",
          "type": "bytes32"
        },
        {
          "name": "assetInAmt",
          "type": "uint256"
        },
        {
          "name": "assetOutAmt",
          "type": "uint256"
        }
      ]
    },
    "primaryType": "UnorderedSwapBatchApproval",
    "domain": {
      "name": "MultiliquidSwap",
      "version": "2",
      "chainId": 1,
      "verifyingContract": "0xd66211cf522ba23b59789fff6524c1f03e13e20c"
    },
    "message": {
      "user": "0x2222222222222222222222222222222222222222",
      "operator": "0x3333333333333333333333333333333333333333",
      "receiver": "0x2222222222222222222222222222222222222222",
      "inputs": [
        {
          "routeId": "0",
          "assetInID": "0x58e27f2731863499e6a23a1662ebeed9041d6b40996ea9ca7f4ebc54201823b4",
          "assetOutID": "0x6f640388b2d2075b1c9f2f195fa3d1e4b26167f5e25357294d44c4b7c877da68",
          "stablecoinDelegateID": "0x58e27f2731863499e6a23a1662ebeed9041d6b40996ea9ca7f4ebc54201823b4",
          "assetInAmt": "1000000000",
          "assetOutAmt": "95238095"
        }
      ],
      "nonce": "49195495019385257848327947155976052168550369645288041991474001324649189794319",
      "deadline": "1796223810"
    }
  },
  "approval": {
    "description": "Approve 1000 USDC to the USDC delegate of capital provider Uniform Labs",
    "transaction": {
      "runtime": "evm",
      "chainId": 1,
      "from": "0x2222222222222222222222222222222222222222",
      "to": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
      "data": "0x095ea7b30000000000000000000000000630582db5a1949509f21b315677c40b9aeb7bda000000000000000000000000000000000000000000000000000000003b9aca00",
      "value": "0",
      "nonce": "42",
      "gas": "67134",
      "maxFeePerGas": "21500000000",
      "maxPriorityFeePerGas": "1500000000",
      "serialized": "0x02f86e012a8459682f008505017ff7008301063e94a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4880b844095ea7b30000000000000000000000000630582db5a1949509f21b315677c40b9aeb7bda000000000000000000000000000000000000000000000000000000003b9aca00c0"
    }
  },
  "checks": {
    "capacity": {
      "token": "0x43415eb6ff9db7e26a15b704e7a3edce97d31c4e",
      "required": "95.238095",
      "available": "249904.761905",
      "sufficient": true
    }
  },
  "quote": {
    "swapType": "exactIn",
    "inputToken": {
      "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
      "symbol": "USDC",
      "name": "USD Coin",
      "decimals": 6,
      "kind": "stablecoin",
      "issuer": "Circle"
    },
    "outputToken": {
      "address": "0x43415eb6ff9db7e26a15b704e7a3edce97d31c4e",
      "symbol": "USTB",
      "name": "Invesco Short Duration US Government Securities Fund",
      "decimals": 6,
      "kind": "rwa",
      "issuer": "Superstate"
    },
    "amountIn": "1000",
    "amountOut": "95.238095",
    "price": "0.095238095",
    "fees": [
      {
        "type": "issuer",
        "amount": "0",
        "token": {
          "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
          "symbol": "USDC",
          "name": "USD Coin",
          "decimals": 6,
          "kind": "stablecoin",
          "issuer": "Circle"
        },
        "paidBy": "capitalProvider"
      },
      {
        "type": "spread",
        "amount": "0.25",
        "token": {
          "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
          "symbol": "USDC",
          "name": "USD Coin",
          "decimals": 6,
          "kind": "stablecoin",
          "issuer": "Circle"
        },
        "paidBy": "user"
      },
      {
        "type": "capitalProvider",
        "amount": "1.25",
        "token": {
          "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
          "symbol": "USDC",
          "name": "USD Coin",
          "decimals": 6,
          "kind": "stablecoin",
          "issuer": "Circle"
        },
        "paidBy": "user"
      }
    ],
    "capitalProvider": {
      "id": "0x58e27f2731863499e6a23a1662ebeed9041d6b40996ea9ca7f4ebc54201823b4",
      "name": "Uniform Labs",
      "address": "0x0630582db5a1949509f21b315677c40b9aeb7bda"
    }
  },
  "batch": {
    "batchId": "2026-12-01",
    "opensAt": "2026-11-30T22:00:00Z",
    "cutoffAt": "2026-12-01T21:30:00Z",
    "releasesAt": "2026-12-01T22:00:00Z",
    "executionTargetAt": "2026-12-01T22:15:00Z",
    "reportingClosesAt": "2026-12-01T22:30:00Z",
    "intakeOpen": true
  }
}
```

| Response field | Use |
| - | - |
| `order` | The order to send back with the signature, unchanged. Its `assetInAmt` and `assetOutAmt` are the signed amounts in base units: `1000000000` is the 1,000 USDC of the request. |
| `typedData` | What the user signs, with the same base-unit amounts |
| `approval` | The approval transaction to land first, or `null` when the user's allowance already covers the order |
| `checks` | `capacity`: whether the capital provider's capacity left in the batch covers the order now. Here the order needs 95.238095 USTB of the 249,904.761905 left. |
| `quote` | The current quote, in whole tokens, which the order's bound equals |
| `batch` | The batch the order joins, with its times |

The order's bound has no slippage buffer, so if the price moves against it before submission, prepare and sign again.

A failing check does not fail the preparation. When `checks.capacity.sufficient` is `false`, don't land the approval: submission would answer `INSUFFICIENT_CAPACITY`. Order at most what `available` covers, or choose another capital provider.

## 2. Approve

When `approval` is not `null`, land it before you submit the order, and wait until it is confirmed: the order's signature does not grant the allowance. The approval is complete, with the user's nonce, gas, and fees filled in, so the wallet signs `serialized` as returned and sets none of them itself. Then either:

* signs the `transaction` without broadcasting it, and you submit it alone to [`POST /v1/submissions`](https://docs.multiliquid.xyz/api-reference/swap/submissions) and wait until it is `confirmed`; or
* sends it itself, as a wallet that can only broadcast, such as a browser wallet or a custody platform, does.

The approval covers this order's input plus the user's other open orders that spend the same token through the same capital provider, because an approval replaces the allowance instead of adding to it.

## 3. Sign and submit

The wallet signs `typedData` as it is. Send `order` exactly as prepared, with the `signature`. Its inputs name the IDs `assetInId`, `assetOutId`, and `stablecoinDelegateId`, where `typedData.message` names them `assetInID`, `assetOutID`, and `stablecoinDelegateID`, so an order rebuilt from the typed data is rejected.

```bash theme={null}
curl -X POST "https://api.multiliquid.xyz/v1/batch-orders" \
  -H "Content-Type: application/json" \
  -d '{
    "order": {
      "network": "evm-mainnet",
      "user": "0x2222222222222222222222222222222222222222",
      "operator": "0x3333333333333333333333333333333333333333",
      "receiver": "0x2222222222222222222222222222222222222222",
      "inputs": [
        {
          "routeId": "0",
          "assetInId": "0x58e27f2731863499e6a23a1662ebeed9041d6b40996ea9ca7f4ebc54201823b4",
          "assetOutId": "0x6f640388b2d2075b1c9f2f195fa3d1e4b26167f5e25357294d44c4b7c877da68",
          "stablecoinDelegateId": "0x58e27f2731863499e6a23a1662ebeed9041d6b40996ea9ca7f4ebc54201823b4",
          "assetInAmt": "1000000000",
          "assetOutAmt": "95238095"
        }
      ],
      "nonce": "49195495019385257848327947155976052168550369645288041991474001324649189794319",
      "deadline": "1796223810"
    },
    "signature": "0x111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111b"
  }'
```

It answers `201` with the order's ID and the batch it joins:

```json Response theme={null}
{
  "orderId": "019a5c1e-8f3b-7c2d-9e4f-6a1b2c3d4e5f",
  "acceptedAt": "2026-12-01T15:04:05Z",
  "batch": {
    "batchId": "2026-12-01",
    "opensAt": "2026-11-30T22:00:00Z",
    "cutoffAt": "2026-12-01T21:30:00Z",
    "releasesAt": "2026-12-01T22:00:00Z",
    "executionTargetAt": "2026-12-01T22:15:00Z",
    "reportingClosesAt": "2026-12-01T22:30:00Z",
    "intakeOpen": true
  }
}
```

`typedData` is in the `eth_signTypedData_v4` form, with `EIP712Domain` in `types`. Wallets and custody platforms that take the raw JSON sign it as it is.

> [!WARNING]
>
> ethers rejects `EIP712Domain` in `types`. With ethers, delete `types.EIP712Domain` before signing; the signature is the same.

On Solana, prepare returns the unsigned `transaction` in place of `typedData` and `approval`. It is a version 1 transaction, which only a client that supports version 1 decodes, such as `@solana/kit`; `@solana/web3.js` 1.x cannot. The wallet signs it unchanged with `signTransaction` and does not send it: the operator signs and sends it after the release. Submit the `order` with the `signedTransaction` to `POST /v1/batch-orders`, never to `POST /v1/submissions`. [Batch orders](https://docs.multiliquid.xyz/api-reference/swap/batch-orders.md#solana-orders) gives the Solana fields.

## 4. Track the order

Read `GET /v1/batch-orders/{orderId}?network=evm-mainnet`. The list, `GET /v1/batch-orders?network=evm-mainnet&user=0x...`, returns each order in this shape under `orders`, newest first, with `nextCursor`:

```json Response expandable theme={null}
{
  "orderId": "019a5c1e-8f3b-7c2d-9e4f-6a1b2c3d4e5f",
  "network": "evm-mainnet",
  "state": "completed",
  "user": "0x2222222222222222222222222222222222222222",
  "receiver": "0x2222222222222222222222222222222222222222",
  "capitalProvider": {
    "id": "0x58e27f2731863499e6a23a1662ebeed9041d6b40996ea9ca7f4ebc54201823b4",
    "name": "Uniform Labs",
    "address": "0x0630582db5a1949509f21b315677c40b9aeb7bda"
  },
  "inputToken": {
    "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
    "symbol": "USDC",
    "name": "USD Coin",
    "decimals": 6,
    "kind": "stablecoin",
    "issuer": "Circle"
  },
  "outputToken": {
    "address": "0x43415eb6ff9db7e26a15b704e7a3edce97d31c4e",
    "symbol": "USTB",
    "name": "Invesco Short Duration US Government Securities Fund",
    "decimals": 6,
    "kind": "rwa",
    "issuer": "Superstate"
  },
  "swapType": "exactIn",
  "amountIn": "1000",
  "bound": {
    "minAmountOut": "95.238095"
  },
  "batch": {
    "batchId": "2026-12-01",
    "opensAt": "2026-11-30T22:00:00Z",
    "cutoffAt": "2026-12-01T21:30:00Z",
    "releasesAt": "2026-12-01T22:00:00Z",
    "executionTargetAt": "2026-12-01T22:15:00Z",
    "reportingClosesAt": "2026-12-01T22:30:00Z",
    "intakeOpen": false
  },
  "settlement": {
    "transactionId": "0x0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
    "blockNumber": "26538532",
    "settledAt": "2026-12-01T22:07:11Z",
    "legs": [
      {
        "legIndex": 0,
        "inputToken": {
          "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
          "symbol": "USDC",
          "name": "USD Coin",
          "decimals": 6,
          "kind": "stablecoin",
          "issuer": "Circle"
        },
        "outputToken": {
          "address": "0x43415eb6ff9db7e26a15b704e7a3edce97d31c4e",
          "symbol": "USTB",
          "name": "Invesco Short Duration US Government Securities Fund",
          "decimals": 6,
          "kind": "rwa",
          "issuer": "Superstate"
        },
        "amountIn": "1000",
        "amountOut": "95.3",
        "fees": [
          {
            "type": "issuer",
            "amount": "0",
            "token": {
              "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
              "symbol": "USDC",
              "name": "USD Coin",
              "decimals": 6,
              "kind": "stablecoin",
              "issuer": "Circle"
            },
            "paidBy": "capitalProvider"
          },
          {
            "type": "spread",
            "amount": "0.25",
            "token": {
              "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
              "symbol": "USDC",
              "name": "USD Coin",
              "decimals": 6,
              "kind": "stablecoin",
              "issuer": "Circle"
            },
            "paidBy": "user"
          },
          {
            "type": "capitalProvider",
            "amount": "1.25",
            "token": {
              "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
              "symbol": "USDC",
              "name": "USD Coin",
              "decimals": 6,
              "kind": "stablecoin",
              "issuer": "Circle"
            },
            "paidBy": "user"
          }
        ]
      }
    ]
  },
  "failure": null,
  "statusDetail": null,
  "acceptedAt": "2026-12-01T15:04:05Z",
  "canceledAt": null,
  "completedAt": "2026-12-01T22:07:11Z",
  "updatedAt": "2026-12-01T22:07:30Z"
}
```

| `state` | Meaning |
| - | - |
| `accepted` | In its batch, waiting for the 5:00 PM release. The user can still cancel it. |
| `processing` | Released to the capital provider, which can execute it until its signed deadline. An order not executed by the 5:30 PM close stays `processing` until that deadline passes. |
| `completed` | Executed, and Multiliquid verified it. `settlement` holds the amounts. |
| `underReview` | The capital provider reported executing it, and Multiliquid has not verified the execution yet |
| `failed` | Its deadline passed without an execution, or on Solana its nonce account moved on or its transaction failed. `failure` says why. |
| `canceled` | Canceled before the release |

Keep reading an order while it is `accepted`, `processing`, or `underReview`. A deadline falls before the next day's 5:00 PM release, so an order is past `processing` by then. On Solana, `completed` and `failed` are final. On Ethereum, treat a `completed` order as final once `settlement.blockNumber` is finalized.

## Cancel an order

The user can cancel an accepted order until the batch's 4:30 PM cut-off. Prepare the cancellation:

```bash theme={null}
curl -X POST "https://api.multiliquid.xyz/v1/batch-orders/019a5c1e-8f3b-7c2d-9e4f-6a1b2c3d4e5f/cancel/prepare" \
  -H "Content-Type: application/json" \
  -d '{ "network": "evm-mainnet" }'
```

```json Response expandable theme={null}
{
  "runtime": "evm",
  "cancellation": {
    "network": "evm-mainnet",
    "orderId": "019a5c1e-8f3b-7c2d-9e4f-6a1b2c3d4e5f",
    "nonce": "49195495019385257848327947155976052168550369645288041991474001324649189794319",
    "expiresAt": "1796142000"
  },
  "typedData": {
    "types": {
      "EIP712Domain": [
        {
          "name": "name",
          "type": "string"
        },
        {
          "name": "version",
          "type": "string"
        },
        {
          "name": "chainId",
          "type": "uint256"
        },
        {
          "name": "verifyingContract",
          "type": "address"
        }
      ],
      "CancelOrder": [
        {
          "name": "action",
          "type": "string"
        },
        {
          "name": "orderId",
          "type": "string"
        },
        {
          "name": "nonce",
          "type": "uint256"
        },
        {
          "name": "expiresAt",
          "type": "uint256"
        }
      ]
    },
    "primaryType": "CancelOrder",
    "domain": {
      "name": "MultiliquidBatchOrders",
      "version": "1",
      "chainId": 1,
      "verifyingContract": "0xd66211cf522ba23b59789fff6524c1f03e13e20c"
    },
    "message": {
      "action": "CANCEL_ORDER",
      "orderId": "019a5c1e-8f3b-7c2d-9e4f-6a1b2c3d4e5f",
      "nonce": "49195495019385257848327947155976052168550369645288041991474001324649189794319",
      "expiresAt": "1796142000"
    }
  }
}
```

The cancellation's `nonce` is the order's nonce. The wallet signs `typedData`. Send the `cancellation` unchanged, with the `signature`, before its `expiresAt`, five minutes after you prepared it (here `1796142000`, 16:20:00 UTC):

```bash theme={null}
curl -X POST "https://api.multiliquid.xyz/v1/batch-orders/019a5c1e-8f3b-7c2d-9e4f-6a1b2c3d4e5f/cancel" \
  -H "Content-Type: application/json" \
  -d '{
    "cancellation": {
      "network": "evm-mainnet",
      "orderId": "019a5c1e-8f3b-7c2d-9e4f-6a1b2c3d4e5f",
      "nonce": "49195495019385257848327947155976052168550369645288041991474001324649189794319",
      "expiresAt": "1796142000"
    },
    "signature": "0x111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111b"
  }'
```

```json Response theme={null}
{
  "orderId": "019a5c1e-8f3b-7c2d-9e4f-6a1b2c3d4e5f",
  "canceledAt": "2026-12-01T16:17:30Z"
}
```

Canceling restores the capital provider's capacity and does not use the order's nonce on-chain. On Solana, the prepared cancellation has a `message` in place of `typedData`, which the wallet signs with `signMessage`.

## When something goes wrong

| Code | What happened | What to do |
| - | - | - |
| `INVALID_BODY` | A field is malformed, such as a zero amount, one with more than 6 decimal places or more than the token's decimals, or a JSON number; `details.field` names it | Send the amount as a decimal string in whole tokens, such as `"1000"` |
| `INTAKE_CLOSED` | The batch's cut-off has passed | Wait until `details.opensAt`, then prepare again |
| `NO_QUOTE` | The capital provider cannot quote the order now. On preparation, `details.providers` names it and the decoded `error`, such as, on Ethereum, `InsufficientCredits` for \$TSY above the user's Treasury credits or `ZeroAmount` for an amount whose quote rounds to zero. | Change the amount, or use another capital provider |
| `TOKEN_ACCOUNT_MISSING` | On Solana, the user lacks a token account for one of the pair's tokens. `details` give the mint as `token`, the `account`, and its `tokenProgram`. | Create the account, then prepare again |
| `INSUFFICIENT_CAPACITY` | The capital provider's capacity cannot cover the order | Order at most `details.available`, or use another capital provider |
| `BATCH_ORDERS_DISABLED` | The capital provider takes no batch orders now | Use another capital provider |
| `OPERATOR_NOT_SELECTED` | The capital provider has no operator | Use another capital provider, or try later |
| `BOUND_NOT_MET` | The price moved against the order's bound | Prepare and sign again |
| `OPERATOR_MISMATCH` | The capital provider changed its operator | Prepare and sign again |
| `INSUFFICIENT_ALLOWANCE` | The approval has not landed, or is too low | Land `approval`, wait until it is confirmed, then submit the same order again |
| `INSUFFICIENT_BALANCE` | The wallet holds too little of the input | Fund the wallet, or order less |
| `DUPLICATE_ORDER` | This order was already accepted | Read `details.orderId`. Don't sign again. |
| `PREPARED_ORDER_STALE` | On Solana, the prepared transaction is out of date | Prepare and sign again |
| `CANCELLATION_CLOSED` | The cut-off has passed, so the order is released or about to be | It can no longer be canceled |
| `CANCELLATION_EXPIRED` | The prepared cancellation expired | Prepare and sign a new one before the cut-off; after it, the order can no longer be canceled |
| `NETWORK_NOT_ACTIVE` | Batch orders are not active on the network | Don't retry |

[Batch orders](https://docs.multiliquid.xyz/api-reference/swap/batch-orders.md#rejections) lists every rejection.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.