kepa
Reconciliation/getTransactionTotals

Running Transaction Totals

Live totals for the current settlement period.

GET/v1/totals
Get the running totals for the current settlement period — sale count and amount, refunds, voids, pre-auths. Use it to balance the till before closing, surface a live dashboard, or sanity-check before triggering reconciliation. Pass a currency to scope to a single currency on multi-currency terminals.
Query parameters
currencystring

Filter totals by ISO 4217 currency code.

Example "NZD"

Response

application/json

saleCountintegerRequired

Number of completed sale transactions.

Example 47
saleAmountintegerRequired

Total sale amount in minor units.

Example 328750
refundCountintegerRequired

Number of completed refunds.

Example 2
refundAmountintegerRequired

Total refund amount in minor units.

Example 5000
voidCountintegerRequired

Number of voided transactions.

Example 1
voidAmountintegerRequired

Total voided amount in minor units.

Example 1200
preAuthCountintegerRequired

Number of pre-authorizations.

Example 3
preAuthAmountintegerRequired

Total pre-auth amount in minor units.

Example 45000
currencystringRequired

ISO 4217 currency code.

Example "NZD"

getTransactionTotals

GETGo API
https://api.kepapay.co/v1/totals
Request
curl https://api.kepapay.co/v1/totals?currency=NZD \
  -H "X-Api-Key: $KEPA_SECRET_KEY"
Response
{
  "saleCount": 47,
  "saleAmount": 328750,
  "refundCount": 2,
  "refundAmount": 5000,
  "voidCount": 1,
  "voidAmount": 1200,
  "preAuthCount": 3,
  "preAuthAmount": 45000,
  "currency": "NZD"
}