This instance couldn't reach its API specification on the last attempt, so this page shows the copy fetched before that. Anything added or changed since then is missing here, and the reference updates itself as soon as the specification is readable again. Last fetched 2026-10-22 22:09 UTC.
Folds every transaction matching the filter into count and total amount, grouped by
transaction type, by payment type and by result code. The three groupings partition the
same rows, so each one sums to the overall figures.
Signed in, you can send this request to your own sandbox merchant from the console
and read the answer.
Sign in to try it.
Example request
Each example below is one request, shown in every language. Choose an example and a language, then replace {{BASE_URL}} with the address of the API you are calling and {{API_KEY}} with your own key.
The request body is a TransactionStatisticsRequestDto. See the Request body section below for its fields.
Parameters
Name
In
Type
Description
suppressNullsrequired
query
boolean
If true, omit properties with null values.
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
Request body
application/json, required
Field
Type
Description
merchantIdrequired
string (uuid)
Optional merchant to restrict the aggregate to. When omitted, the result covers every
merchant the caller is entitled to see. A merchant outside the caller's scope yields an empty
result rather than an error, because the caller is not entitled to learn whether it exists.nullable
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
minCreationTimerequired
string (date-time)
Inclusive lower bound on the transaction's creation time, in UTC.nullable
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
maxCreationTimerequired
string (date-time)
Exclusive upper bound on the transaction's creation time, in UTC.nullable
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
The filter tree, in the same vocabulary the transaction continuation list accepts, including
its virtual fields (`PaymentMethod`, `DisplayGuid`, `EntryMode`,
`SettlementBatchId` and the rest), which are resolved server-side exactly as the list
resolves them.
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
Count and total per transaction type, keyed by the `TransactionType` member name
(`Sale`, `Authorization`, `Return`, ...), ordered by descending count.nullable
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
Fields of each TransactionStatisticsBucketDto:
Field
Type
Description
keyrequired
string
The bucket key: the enum member name of the grouping this bucket belongs to.nullable
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
countrequired
integer (int64)
The number of matching transactions in the bucket.
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
totalAmountrequired
number (double)
The sum of the bucket's transaction totals.
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
Count and total per payment method, keyed by the `PaymentMethodsGranular` member name
(`Visa`, `MasterCard`, `Check`, `AlternativePayment`, ...), resolved by
the same rule every transaction read surface uses, ordered by descending count.nullable
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
Fields of each TransactionStatisticsBucketDto:
Field
Type
Description
keyrequired
string
The bucket key: the enum member name of the grouping this bucket belongs to.nullable
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
countrequired
integer (int64)
The number of matching transactions in the bucket.
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
totalAmountrequired
number (double)
The sum of the bucket's transaction totals.
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
Count and total per gateway result, keyed by the `ResultCode` member name (`Ok`,
`Declined`, ...), ordered by descending count. A transaction that recorded no response
at all falls in the bucket keyed `NoResultKey`.nullable
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
Fields of each TransactionStatisticsBucketDto:
Field
Type
Description
keyrequired
string
The bucket key: the enum member name of the grouping this bucket belongs to.nullable
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
countrequired
integer (int64)
The number of matching transactions in the bucket.
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
totalAmountrequired
number (double)
The sum of the bucket's transaction totals.
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
This response has no documented body fields.
defaultThe request failed. The body carries the standard error envelope: a machine-readable `error.code`, a human-readable `error.message`, and `error.validationErrors` when the failure was a validation rejection. The error reference lists the values `error.code` can take.The request failed. The body carries the standard error envelope: a machine-readable `error.code`, a human-readable `error.message`, and `error.validationErrors` when the failure was a validation rejection. The error reference lists the values `error.code` can take.
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
This response has no documented body fields.
429The request was refused because a rate limit was exceeded, or because something a later retry can clear stopped it. A rate limit refusal carries an `application/problem+json` body: wait at least the interval `Retry-After` names before retrying, then back off. Limits are tuned per deployment, so read the allowance from the response headers rather than assuming a fixed ceiling. Any other refusal carries the standard error envelope as `application/json`, and its `error.code` names the cause.