---
title: "Total an organization's payments per currency"
method: POST
path: "/api/public/v1/paymentHistory/totals"
tags: ["payments"]
deprecated: true
---

# Total an organization's payments per currency

`POST /api/public/v1/paymentHistory/totals`

## Request

- Base URL: `https://app.fortuneos.ai`
- URL: `https://app.fortuneos.ai/api/public/v1/paymentHistory/totals`
- Auth: none declared

> **Deprecated.**

Returns, for every payment list matches under the same filters, venues and grant, one row per currency: the count of payments in each status; gross volume, the principal plus tip of payments with a succeeded payment attempt before refunds, a voided payment excluded, and the tip within it; refunds, the principal plus tip succeeded refunds of those payments returned whenever they happened; net volume, gross volume minus refunds; and gross volume by payment source. Amounts are minor units of that currency and are never summed across currencies. Disputes and fees are not in payment history, so net volume does not reflect them. Not an order or sales read. Refused with FORBIDDEN as `paywallLocked` when the caller is an Owner or Manager of a business the merchant Paywall locks: one with no verified subscription that has taken 5 orders while the Paywall's rollout reaches it, an order counting from its first saved line, whether or not it is paid or completed, until it is archived or cancelled before activation. Nothing is read or written; a verified subscription lifts the lock.

## Request body

- object
  - `organizationId` string, required
  - `locationIds` string[]
  - `statuses` string[]
  - `methods` string[]
  - `startedOn` object
    - `from` string, date, required
    - `to` string, date, required
  - `minAmountCents` integer
  - `maxAmountCents` integer
  - `terminalIds` string[]
  - `hasFailedPaymentAttempts` boolean
  - `search` string

## Response `200`

OK

- object
  - `currencies` object[], required
    - `currency` 'AED' | 'USD' | 'MXN' | 'RUB' | 'AMD' | 'OMR' | 'JOD' | 'EUR', required
    - `paymentsByStatus` object, required
    - `grossVolumeCents` integer, required
    - `grossVolumeTipCents` integer, required
    - `refundsCents` integer, required
    - `netVolumeCents` integer, required
    - `grossVolumeBySourceCents` object, required

## Changes

- **2026-11-25** `b80e0138ce51`: 1 info
  - endpoint deprecated
- **2026-11-23** `dd235958bcc9`: 1 warning, 1 info
  - added the new `voided` enum value to the `currencies/items/paymentsByStatus/propertyNames/` response property for the response status `200`
  - added the new `voided` enum value to the request property `statuses/items/`
- **2026-11-18** `c73839b30809`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fortis/apis/fortune-os-api/changes/api/public/v1/paymentHistory/totals/post.md)

---

[API](https://skmtc.dev/fortis/apis/fortune-os-api.md) - [All operations](https://skmtc.dev/fortis/apis/fortune-os-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fortis/apis/fortune-os-api/revisions/522f3cea550d?raw)
