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

**curl**

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

**TypeScript**

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

const vortex = createVortex({ apiKey: process.env.VORTEX_API_KEY });
const { data } = await executeDueBillingOrders({
  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": {
    "orders": [
      {
        "orderId": "string",
        "orderFormId": "string",
        "quoteId": "string",
        "quoteVersionId": "string",
        "customerId": "string",
        "billingAccountId": "string",
        "merchantAccountId": "string",
        "number": "string",
        "status": "created",
        "executionRecord": {
          "subscriptionIds": [
            "string"
          ],
          "appliedCouponIds": [
            "string"
          ],
          "errors": [
            "string"
          ],
          "executedAt": "string",
          "executionMode": "execute_in_vortex",
          "invoiceId": "string",
          "amendmentCredit": {
            "invoiceId": "string",
            "currency": "string",
            "lines": [
              {
                "priceId": "string",
                "amount": 0,
                "description": "string",
                "invoiceLineId": "string"
              }
            ]
          },
          "creditNoteIds": [
            "string"
          ]
        },
        "metadata": {
          "property1": "string",
          "property2": "string"
        },
        "createdAt": "string",
        "updatedAt": "string",
        "amendsOrderId": "string",
        "executionMode": "execute_in_vortex",
        "executeAt": "string",
        "executedAt": "string",
        "customFieldData": {
          "property1": "string",
          "property2": "string"
        }
      }
    ],
    "failedOrders": [
      {
        "orderId": "string",
        "orderFormId": "string",
        "quoteId": "string",
        "quoteVersionId": "string",
        "customerId": "string",
        "billingAccountId": "string",
        "merchantAccountId": "string",
        "number": "string",
        "status": "created",
        "executionRecord": {
          "subscriptionIds": [
            "string"
          ],
          "appliedCouponIds": [
            "string"
          ],
          "errors": [
            "string"
          ],
          "executedAt": "string",
          "executionMode": "execute_in_vortex",
          "invoiceId": "string",
          "amendmentCredit": {
            "invoiceId": "string",
            "currency": "string",
            "lines": [
              {
                "priceId": "string",
                "amount": 0,
                "description": "string",
                "invoiceLineId": "string"
              }
            ]
          },
          "creditNoteIds": [
            "string"
          ]
        },
        "metadata": {
          "property1": "string",
          "property2": "string"
        },
        "createdAt": "string",
        "updatedAt": "string",
        "amendsOrderId": "string",
        "executionMode": "execute_in_vortex",
        "executeAt": "string",
        "executedAt": "string",
        "customFieldData": {
          "property1": "string",
          "property2": "string"
        }
      }
    ]
  },
  "requestId": "string"
}
```
