---
search:
  tags:
    - onboarding
    - POST
seo:
  description: >-
    Anonymous rate comparison — self-reported volume priced against published
    rate cards. Reference for the POST /v1/compare endpoint in the Vortex
    Payments API.
sidebar:
  label: >-
    Anonymous rate comparison — self-reported volume priced against published
    rate cards
  badge: POST
title: >-
  Anonymous rate comparison — self-reported volume priced against published rate
  cards
type: openapi-operation
---
`POST /v1/compare`

**curl**

```bash
curl "https://api.vortex.nyc/v1/compare" \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{"processor":"stripe","channel":"online","monthlyVolumeCents":5000000,"avgTicketCents":12500}'
```

**TypeScript**

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

const vortex = createVortex({ apiKey: process.env.VORTEX_API_KEY });
const { data } = await compareRates({
  client: vortex,
  body: {"processor":"stripe","channel":"online","monthlyVolumeCents":5000000,"avgTicketCents":12500},
});
```

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

- `processor` (string) — Current processor key (e.g. stripe, square); omit for greenfield.
- `channel` (string, required)
- `monthlyVolumeCents` (integer, required)
- `avgTicketCents` (integer)
- `monthlyTransactions` (integer)
- `currentRate` (object) — Self-reported current pricing — overrides the published benchmark.

Request body example:

```json
{
  "processor": "stripe",
  "channel": "online",
  "monthlyVolumeCents": 5000000,
  "avgTicketCents": 12500
}
```

**Responses**

- `200` — Success
- `201` — Created
- `400` — Bad request, including malformed JSON
- `409` — Conflict, including idempotency body drift
- `422` — Validation failed
- `429` — API key rate limit exceeded
- `default` — Error

Response example, 200:

```json
{
  "data": {
    "id": "string",
    "environment": "sandbox",
    "processor": "string",
    "channel": "online",
    "monthlyVolumeCents": 0,
    "avgTicketCents": 0,
    "computed": {
      "isEstimate": true,
      "channel": "online",
      "monthlyVolumeCents": 0,
      "monthlyTransactions": 0,
      "current": {
        "processorKey": "string",
        "displayName": "string",
        "monthlyCostCents": 0,
        "effectiveRateBp": 0,
        "source": "self_reported"
      },
      "vortex": {
        "monthlyCostCents": 0,
        "effectiveRateBp": 0
      },
      "marketDefault": {
        "processorKey": "string",
        "displayName": "string",
        "monthlyCostCents": 0,
        "effectiveRateBp": 0
      },
      "estimatedAnnualSavingsCents": 0,
      "benchmarkedAt": "string"
    },
    "status": "new",
    "contactEmail": "string",
    "contactName": "string",
    "note": "string",
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z"
  }
}
```
