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

**curl**

```bash
curl "https://api.vortex.nyc/v1/payment-hardware-orders" \
  -X POST \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{...}'
```

**TypeScript**

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

const vortex = createVortex({ apiKey: process.env.VORTEX_API_KEY });
const { data } = await createPaymentHardwareOrder({
  client: vortex,
  body: {...},
});
```

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

- `environment` (string | null)
- `merchantAccountId` (string | null)
- `lines` (object[], required)
- `shippingAddress` (object, required)
- `contactEmail` (string | null)
- `contactPhone` (string | null)
- `metadata` (object | null)
- `idempotencyKey` (string | null)

Request body example:

```json
{
  "environment": "sandbox",
  "merchantAccountId": "string",
  "lines": [
    {
      "skuId": "string",
      "quantity": 0
    }
  ],
  "shippingAddress": {
    "line1": "string",
    "line2": "string",
    "city": "string",
    "region": "string",
    "postalCode": "string",
    "country": "string"
  },
  "contactEmail": "string",
  "contactPhone": "string",
  "metadata": {
    "property1": "string",
    "property2": "string"
  },
  "idempotencyKey": "string"
}
```

**Responses**

- `201` — Success

Response example, 201:

```json
{
  "data": {
    "id": "string",
    "merchantAccountId": "string",
    "status": "draft",
    "lines": [
      {
        "skuId": "string",
        "quantity": 0,
        "unitAmount": 0,
        "currency": "string"
      }
    ],
    "shippingAddress": {
      "line1": "string",
      "line2": "string",
      "city": "string",
      "region": "string",
      "postalCode": "string",
      "country": "string"
    },
    "contactEmail": "string",
    "contactPhone": "string",
    "providerAction": {
      "rail": "device_store",
      "action": "place_order_in_provider_portal",
      "reason": "string"
    },
    "shipment": {
      "status": "not_shipped",
      "carrier": "string",
      "trackingNumberMasked": "string",
      "shippedAt": "string",
      "deliveredAt": "string"
    },
    "nextAction": "none",
    "metadata": {
      "property1": "string",
      "property2": "string"
    },
    "createdAt": "string",
    "updatedAt": "string",
    "orderedAt": "string",
    "confirmedAt": "string",
    "activatedAt": "string",
    "canceledAt": "string",
    "terminalLocationId": "string",
    "terminalReaderId": "string"
  },
  "requestId": "string"
}
```
