---
search:
  tags:
    - orderForms
    - POST
seo:
  description: >-
    Reference for the POST /v1/order-forms/expire-due endpoint in the Vortex
    Payments API.
sidebar:
  label: POST /v1/order-forms/expire-due
  badge: POST
title: POST /v1/order-forms/expire-due
type: openapi-operation
---
`POST /v1/order-forms/expire-due`

**curl**

```bash
curl "https://api.vortex.nyc/v1/order-forms/expire-due?environment=sandbox&merchantAccountId=..." \
  -X POST \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":50}'
```

**TypeScript**

```ts
import { expireDueBillingOrderForms, createVortex } from "@vortex-api/vortex/2026-09";

const vortex = createVortex({ apiKey: process.env.VORTEX_API_KEY });
const { data } = await expireDueBillingOrderForms({
  client: vortex,
  query: { environment: "sandbox", merchantAccountId: "..." },
  body: {"limit":50},
});
```

**Request body** (`application/json`, required)

- `environment` (string | null)
- `merchantAccountId` (string | null)
- `now` (string | null)
- `limit` (number | null)

Request body example:

```json
{
  "environment": "sandbox",
  "merchantAccountId": "string",
  "now": "string",
  "limit": 0
}
```

**Responses**

- `200` — Success

Response example, 200:

```json
{
  "data": {
    "orderForms": [
      {
        "orderFormId": "string",
        "quoteVersionId": "string",
        "quoteId": "string",
        "customerId": "string",
        "billingAccountId": "string",
        "merchantAccountId": "string",
        "number": "string",
        "status": "generated",
        "metadata": {
          "property1": "string",
          "property2": "string"
        },
        "createdAt": "string",
        "updatedAt": "string",
        "voidReason": "manual",
        "expiresAt": "string",
        "signedAt": "string",
        "signedDocumentRef": "string",
        "voidedAt": "string"
      }
    ]
  },
  "requestId": "string"
}
```
