payments

Total an organization's payments per currency

Changed on

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.

post/api/public/v1/paymentHistory/totals

Request

  • Base URL
    https://app.fortuneos.ai
  • Auth
    none declared

Request body

object required
organizationId, string required
locationIds, string[]
statuses, string[]
methods, string[]
startedOn, object
minAmountCents, integer
maxAmountCents, integer
terminalIds, string[]
hasFailedPaymentAttempts, boolean
search, string

Response

OK

object required
currencies, object[] required

Changes

    • info

      endpoint deprecated

    • warning

      added the new voided enum value to the currencies/items/paymentsByStatus/propertyNames response property for the response status

    • info

      added the new voided enum value to the request property statuses/items