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

**curl**

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

**TypeScript**

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

const vortex = createVortex({ apiKey: process.env.VORTEX_API_KEY });
const { data } = await markBillingOrderFormSigned({
  client: vortex,
  path: { orderFormId: "..." },
  query: { environment: "sandbox", merchantAccountId: "..." },
  body: {"executionMode":"execute_in_vortex"},
});
```

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

- `environment` (string | null)
- `merchantAccountId` (string | null)
- `orderFormId` (string | null)
- `signedBy` (string | null)
- `signedByRef` (string | null)
- `signedDocumentRef` (string | null)
- `executionMode` (string | null)
- `executeAt` (string | null)
- `customFieldData` (object | null)

Request body example:

```json
{
  "environment": "sandbox",
  "merchantAccountId": "string",
  "orderFormId": "string",
  "signedBy": "system",
  "signedByRef": "string",
  "signedDocumentRef": "string",
  "executionMode": "execute_in_vortex",
  "executeAt": "string",
  "customFieldData": {
    "property1": "string",
    "property2": "string"
  }
}
```

**Responses**

- `200` — Success

Response example, 200:

```json
{
  "data": {
    "orderForm": {
      "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"
    },
    "order": {
      "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"
}
```
