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

**curl**

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

**TypeScript**

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

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

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

- `environment` (string | null)
- `merchantAccountId` (string | null)
- `invoiceId` (string, required)
- `paymentId` (string, required)
- `paymentIntentId` (string | null)
- `receiptId` (string | null)
- `createdAt` (string | null)
- `metadata` (object | null)

Request body example:

```json
{
  "environment": "sandbox",
  "merchantAccountId": "string",
  "invoiceId": "string",
  "paymentId": "string",
  "paymentIntentId": "string",
  "receiptId": "string",
  "createdAt": "string",
  "metadata": {
    "property1": "string",
    "property2": "string"
  }
}
```

**Responses**

- `201` — Success

Response example, 201:

```json
{
  "data": {
    "receiptId": "string",
    "receiptNumber": "string",
    "customerId": "string",
    "billingAccountId": "string",
    "invoiceIds": [
      "string"
    ],
    "paymentId": "string",
    "currency": "string",
    "amount": 0,
    "status": "created",
    "metadata": {
      "property1": "string",
      "property2": "string"
    },
    "createdAt": "string",
    "paymentIntentId": "string",
    "fileUrl": "string",
    "xmlUrl": "string",
    "generatedAt": "string"
  },
  "requestId": "string"
}
```
