---
title: "Count transactions"
method: GET
path: "/api/v2/transactions/count"
tags: ["Transaction"]
---

# Count transactions

`GET /api/v2/transactions/count`

Count transactions

## Query parameters

- `acquirer_merchant_id` string
- `amount` 'Amex' | 'JCB' | 'Mastercard' | 'Visa'
- `created_at` string
- `country_code` string
- `currency_code` string
- `customer` string
- `enity_id` string
- `invoice_number` string
- `merchant_reference` string — A reference specified by the merchant to identify the transaction.
- `payment_product_type` 'Amex' | 'JCB' | 'Mastercard' | 'Visa'
- `shopper_interaction` 'ecommerce' | 'pos' | 'mail_order' | 'telephone_order' | 'unknown'
- `status` 'INITIATED' | 'AUTHORIZED' | 'AUTHORIZATION_VOIDED' | 'REFUNDED' | 'FAILED' | 'PENDING' | 'DECLINED' | 'SETTLEMENT_CANCELLED' | 'SETTLEMENT_REQUESTED' | 'SETTLEMENT_SUBMITTED' | 'SETTLEMENT_COMPLETED' | 'SETTLEMENT_PARTIAL' | 'SETTLEMENT_DECLINED' | 'VOIDED' | 'UNKNOWN'
- `transaction_type` 'AUTHORISATION' | 'CANCEL' | 'CAPTURE' | 'CARD_VERIFICATION' | 'CASH_ADVANCE' | 'DECLINED' | 'DELAYED_CHARGE' | 'EXTEND' | 'PREAUTH' | 'PREAUTH_COMPLETION' | 'PREAUTH_INCREMENT' | 'REAUTHORISATION' | 'REFUND' | 'SALE' | 'VOID' — A type indicator for the main operation or service that was performed as part of the transaction event.
- `transaction_status` 'APPROVED' | 'AUTHENTICATING' | 'AUTHORISED' | 'AWAITING_INVOICE' | 'CANCELLED' | 'CONFIRMED' | 'COMPLETED' | 'CUSTOMER_ACCEPTED' | 'DECLINED' | 'DEFERRED' | 'DISPUTED' | 'EXCEPTION' | 'EXPIRED' | 'FAILED' | 'INITIATED' | 'ON_HOLD' | 'PARTIALLY_REFUNDED' | 'RECEIVED' | 'RECONCILED' | 'RECONCILIATION_FAILED' | 'REFUNDED' | 'REJECTED' | 'REPEATING' | 'REVERSED' | 'REVERSE_ERROR' | 'REVERSING' | 'ROUTING' | 'SENT' | 'SETTLED' | 'SETTLEMENT_FAILED' | 'SETTLEMENT_REQUESTED' | 'SUBMITTED' | 'TIMED_OUT' | 'UNMATCHED' — This represents the available states that a transaction may have. At any given point it may only have a single state.
- `reason_code` string
- `rrn` string
- `pos_device_id` number
- `stan` number
- `id` string

## Response `200`

Count transactions

- CountTransactionResponse
  - `count` number — count of transaction

## Other responses

- `400` — Bad Request
- `401` — Unauthorised
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.dev/westpac/apis/checkout-api.md) · [All operations](https://skmtc.dev/westpac/apis/checkout-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/westpac/checkout-api/revisions/97b34ca7df9a/schema)
