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

**curl**

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

**TypeScript**

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

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

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

- `amount` (number, required)
- `billingAccountId` (string, required)
- `currency` (string, required)
- `customerProfileId` (string, required)
- `customerTaxAddress` (any | null)
- `externalInvoiceRef` (any | null)
- `metadata` (any | null)
- `organizationId` (any | null)
- `platformFeeAmount` (any | null)
- `taxBehavior` (any | null)
- `taxClassificationKey` (any | null)
- `taxable` (any | null)
- `environment` (string | null)
- `merchantAccountId` (string | null)
- `invoiceId` (string, required)
- `paymentMethodId` (string | null)
- `idempotencyKey` (string | null)

Request body example:

```json
{
  "amount": 0,
  "billingAccountId": "string",
  "currency": "string",
  "customerProfileId": "string",
  "customerTaxAddress": {},
  "externalInvoiceRef": {},
  "metadata": {},
  "organizationId": {},
  "platformFeeAmount": {},
  "taxBehavior": {},
  "taxClassificationKey": {},
  "taxable": {},
  "environment": "sandbox",
  "merchantAccountId": "string",
  "invoiceId": "string",
  "paymentMethodId": "string",
  "idempotencyKey": "string"
}
```

**Responses**

- `200` — Success

Response example, 200:

```json
{
  "data": {
    "invoiceId": "string",
    "paymentIntentId": "string",
    "paymentId": "string",
    "paymentStatus": "pending",
    "requiresAction": true,
    "nextStep": "none",
    "hostedActionUrl": "string",
    "nextActionType": "string"
  },
  "requestId": "string"
}
```
