---
search:
  tags:
    - invoices
    - POST
seo:
  description: >-
    Reference for the POST /v1/invoices/{invoiceId}/collection-retries endpoint
    in the Vortex Payments API.
sidebar:
  label: POST /v1/invoices/{invoiceId}/collection-retries
  badge: POST
title: POST /v1/invoices/{invoiceId}/collection-retries
type: openapi-operation
---
`POST /v1/invoices/{invoiceId}/collection-retries`

**curl**

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

**TypeScript**

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

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

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

- `environment` (string | null)
- `merchantAccountId` (string | null)
- `invoiceId` (string | null)
- `sourceAttemptId` (string, required)
- `baseTime` (string | null)

Request body example:

```json
{
  "environment": "sandbox",
  "merchantAccountId": "string",
  "invoiceId": "string",
  "sourceAttemptId": "string",
  "baseTime": "string"
}
```

**Responses**

- `201` — Success

Response example, 201:

```json
{
  "data": {
    "retryId": "string",
    "invoiceId": "string",
    "billingAccountId": "string",
    "sourceAttemptId": "string",
    "retrySequence": 0,
    "status": "pending",
    "runAt": "string",
    "createdAt": "string",
    "updatedAt": "string",
    "subscriptionId": "string",
    "lastError": "string",
    "paymentIntentId": "string",
    "paymentId": "string",
    "paymentStatus": "string",
    "exhaustedAt": "string",
    "exhaustionReason": "string"
  },
  "requestId": "string"
}
```
