List Transactions

GET /transactions

Returns a paginated list of transactions for the authenticated merchant.

Filtering and Sorting

You can filter and sort the results using query parameters:

Available Filter/Sort Fields:
  • id - Transaction ID
  • timestamp - Transaction timestamp (UTC)
  • referenceId - Reference ID
  • orderNumber - Order number
  • invoiceNumber - Invoice number
  • type - Transaction type (Sale, Refund, Void, Auth, Capture)
  • amount - Transaction amount
Filter Operators:
Operator Meaning
== Equals
!= Not equals
> Greater than
< Less than
>= Greater than or equal to
<= Less than or equal to
@= Contains
_= Starts with
_-= Ends with
!@= Does not Contains
!_= Does not Starts with
!_-= Does not Ends with
@=* Case-insensitive string Contains
_=* Case-insensitive string Starts with
_-=* Case-insensitive string Ends with
==* Case-insensitive string Equals
!=* Case-insensitive string Not equals
!@=* Case-insensitive string does not Contains
!_=* Case-insensitive string does not Starts with
Special Filter Syntax:
  • Use | (pipe) for OR conditions: type==Sale|Capture
  • Use - prefix for descending sort: sorts=-timestamp
Examples:
  • Filter by timestamp range: ?filters=timestamp>=2025-05-21T01:00:00,timestamp<2025-05-22T01:00:00
  • Filter by type with OR: ?filters=type==Sale|Capture
  • Sort by timestamp descending: ?sorts=-timestamp
  • Combined: ?filters=timestamp>=2025-05-27T04:00:00.000Z,type==Sale|Capture&sorts=-timestamp

Note: All transaction timestamps are in UTC.

Query parameters

  • filters string

    Filter criteria in the format: field==value,field!=value Multiple filters can be separated by commas. Use | for OR conditions within a field. Available fields: id, timestamp, referenceId, orderNumber, invoiceNumber, type, amount

  • sorts string

    Sort criteria as comma-separated field names. Use - prefix for descending order. Available fields: id, timestamp, referenceId, orderNumber, invoiceNumber, type, amount

  • page integer

    Page number to retrieve (starts at 1). For example, if you have 100 records with 10 per page, page 2 gives you records 11 to 20.

    Minimum value is 1. Default value is 1.

  • pageSize integer

    Number of records per page. For example, if you have 100 records with 10 per page, page 2 gives you records 11 to 20.

    Minimum value is 1, maximum value is 100. Default value is 10.

Responses

  • 200 application/json

    A successful paginated response containing transactions

    Hide response attributes Show response attributes object
    • totalCount integer Required

      Total number of transactions that match the filter criteria

    • page integer Required

      The current page number (starts at 1)

    • pageSize integer Required

      Number of items per page

    • totalPages integer Required

      Total number of pages available

    • hasNextPage boolean Required

      True if there are more pages of results available

    • hasPreviousPage boolean Required

      True if there are previous pages of results available

    • items array[object] Required

      Array of transactions for the current page

      Represents the response to a sale or authorization transaction.

      Hide items attributes Show items attributes object
      • id string

        Unique ID for this transaction.

      • timestamp string(date-time)

        Transaction timestamp in UTC

      • type string

        Type of transaction

        Values are Sale, Auth, Capture, Refund, or Void.

      • The payment method used for this transaction. This could be:

        • The payment method used for this Card Present transaction.
        • The payment method used for this Card Not Present transaction.
        • The payment method used for this tokenized card transaction.

        If a new card was tokenized during the transaction, the tokenized card ID and details will be returned in the transactionResponses's paymentMethod object.

        Hide paymentMethod attributes Show paymentMethod attributes object
        • id string Required

          The unique identifier of the payment method. This ID has a prefix that makes it human-readable (pmt_trm_* for physical terminals, pmt_vrt_* for virtual terminals, pmt_tkn_* for tokenized cards), but applications should always use the type field to determine the payment method type rather than parsing this ID.

        • type string Required

          The type of payment method:

          • Physical - A physical payment terminal for Card Present transactions
          • Virtual - A hosted payment form/iframe for Card Not Present transactions
          • Token - A tokenized card for card-on-file transactions

          Values are Physical, Virtual, or Token.

        • currency string Required

          The currency of the payment method.

          Values are USD or CAD.

        • A human-readable name for the payment method.

        • cardType string

          The type of card used for this transaction:

          • UNKNOWN - The card type is unknown
          • DEBIT - Debit Card
          • VISA - Visa Credit Card
          • MASTERCARD - MasterCard Credit Card
          • AMEX - American Express Credit Card
          • DINERS - Diners Club Credit Card
          • DISCOVER - Discover Credit Card
          • JCB - JCB Credit Card
          • UNIONPAY - UnionPay Credit Card
          • MAESTRO - Maestro Debit Card
          • GIFT - Gift Card
          • CASH - All-cash Transaction
          • EBT - Electronic Benefits Transfer Card
          • OTHER - Other tender types

          Values are UNKNOWN, DEBIT, VISA, MASTERCARD, AMEX, DINERS, DISCOVER, JCB, UNIONPAY, MAESTRO, GIFT, CASH, EBT, or OTHER.

        • The masked card number. The format may vary (e.g. *********0011, 4*0011, etc.)

        • The expiration date of the card in MMYY format.

      • An optional alphanumeric invoice number for this transaction. If provided, the same value will be populated in the response.

        Maximum length is 100.

      • An optional alphanumeric order number for this transaction. If provided, the same value will be populated in the response.

        Maximum length is 100.

      • The reference ID for this transaction. This will either be the reference ID provided in the transaction request or, if no value was provided, a value generated automatically by the system. This reference ID can be used for processing captures and referenced refunds by including it in the originalReferenceId field of subsequent transactions.

        Maximum length is 100.

      • Result codes:

        • 0 - Successful transaction request. (Check each transactionResponse's responseCode to determine if a transaction was approved or declined, card was tokenized, etc.)
        • 1003 - No payment terminal available.
        • 1005 - The specified terminal could not be found.
        • 3000 - An unexpected error occurred. Please try again.
        • 3002 - The transaction could not be completed because the payment terminal could not find the related transaction.
        • 3005 - To resolve this error, power off your payment terminal, wait one minute and retry the transaction. If the error persists, please contact support.
        • 3006 - The transaction could not be completed because the payment terminal is low on battery.
        • 3009 - The transaction could not be completed because of network connectivity issues with the payment terminal. Please restore connectivity and try again.
        • 3010 - The transaction took too long and was cancelled by the application.
        • 3011 - Invalid transaction request. Please consult the documentation for valid transaction requests.
        • 3012 - Invalid transaction request. paymentMethodId is invalid.
        • 3013 - Invalid transaction request. The specified amount appears to be incorrect. Please retry with a smaller amount.
        • 3014 - Invalid amount. Please try your transaction again with an amount greater than $0.
        • 3020 - An unsupported transaction result was received.
        • 9998 - The system is not ready to process a transaction.
        • 9999 - An unknown error has occurred. If available, an auxiliary error code will be provided in the message.

        Values are 0, 1003, 1005, 3000, 3002, 3005, 3006, 3009, 3010, 3011, 3012, 3013, 3014, 3020, 9998, or 9999.

      • A message describing the result code in more detail.

      • The amount sent in the transaction request. The amount is always a non-null positive integer in the smallest denomination of the currency (e.g. cents for USD or CAD).

      • The amount approved. The approved amount is always a non-null positive integer in the smallest denomination of the currency (e.g. cents for USD or CAD). If approvedAmount is different from amount, it implies that an amount was adjusted by the merchant or customer (for example, a tip or surcharge added directly on a payment terminal).

      • The balance that remains to be paid on the transaction. This amount is always an integer in the smallest denomination of the currency (e.g. cents for USD or CAD).

      • A list of all transaction responses received during the transaction. In most cases, there will be only one response. However, when performing Card Present transactions, some Payment Terminals can return more than one transaction response.

        Hide transactionResponses attributes Show transactionResponses attributes object
        • Response codes:

          • 0 - UNKNOWN
          • 1 - APPROVED - Transaction was approved
          • 2 - PARTIAL_APPROVED - Transaction was partially approved, but not for the full requested amount.
          • 10 - DECLINED - Declined by the issuer or bank.
          • 11 - INSUFFICIENT_FUNDS - Rejected due to insufficient funds in the account.
          • 12 - CARD_EXPIRED - The card used for the transaction has expired.
          • 13 - FRAUD_SUSPECTED - The transaction was flagged for potential fraud.
          • 14 - INVALID_PAYMENT_INFO - The provided information is invalid (e.g.: card number).
          • 15 - LIMIT_EXCEEDED - Rejected due to reaching a limit (e.g.: credit limit).
          • 16 - VERIFICATION_REQUIRED - Additional customer verification is required for the transaction to proceed (e.g.: 3D Secure).
          • 17 - AUTHENTICATION_FAILED - Rejected due to incorrect PIN or authentication failure.
          • 18 - POLICY_VIOLATION - Rejected due to a violation of the payment gateway's terms of service or policies.
          • 19 - BATCH_EMPTY - Indicates that the batch for processing is empty.
          • 20 - RECORD_NOT_FOUND - Indicates that the requested record for a transaction was not found (e.g.: to VOID a reference).
          • 21 - ALREADY_VOIDED - Indicates that the transaction has already been voided and cannot be processed again.
          • 50 - NETWORK_ERROR - Rejected due to network or communication issues with the payment gateway.
          • 51 - INVALID_ECR_PARAMETER - Terminal or system-specific errors.
          • 52 - NOT_SUPPORTED - Rejected because the requested operation is not supported.
          • 53 - BUSY_OR_UNAVAILABLE - Terminal or system is busy or unavailable.
          • 54 - CANCELLED - Cancelled by the user or merchant.
          • 55 - USER_CANCELLED - Specific to scenarios where the user cancels the transaction.
          • 56 - TIMED_OUT_ON_USER_INPUT - Failed to complete the transaction in time.

          Values are 0, 1, 2, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 50, 51, 52, 53, 54, 55, or 56.

        • authCode string

          The authorization code provided by the card issuer, confirming transaction approval.

        • The amount approved for this transaction response.

        • A breakdown of approvedAmount, where each amounts approved on the payment terminal are returned separately.

          Hide approvedAmountBreakdown attributes Show approvedAmountBreakdown attributes object
        • If a new card was tokenized during the transaction, the tokenized card ID and details will be returned (pmt_tkn_*). This value should be stored in your system if you wish to use it for subsequent Card On File transactions.

          Hide paymentMethod attributes Show paymentMethod attributes object
          • id string Required

            The unique identifier of the payment method. This ID has a prefix that makes it human-readable (pmt_trm_* for physical terminals, pmt_vrt_* for virtual terminals, pmt_tkn_* for tokenized cards), but applications should always use the type field to determine the payment method type rather than parsing this ID.

          • type string Required

            The type of payment method:

            • Physical - A physical payment terminal for Card Present transactions
            • Virtual - A hosted payment form/iframe for Card Not Present transactions
            • Token - A tokenized card for card-on-file transactions

            Values are Physical, Virtual, or Token.

          • currency string Required

            The currency of the payment method.

            Values are USD or CAD.

          • A human-readable name for the payment method.

          • cardType string

            The type of card used for this transaction:

            • UNKNOWN - The card type is unknown
            • DEBIT - Debit Card
            • VISA - Visa Credit Card
            • MASTERCARD - MasterCard Credit Card
            • AMEX - American Express Credit Card
            • DINERS - Diners Club Credit Card
            • DISCOVER - Discover Credit Card
            • JCB - JCB Credit Card
            • UNIONPAY - UnionPay Credit Card
            • MAESTRO - Maestro Debit Card
            • GIFT - Gift Card
            • CASH - All-cash Transaction
            • EBT - Electronic Benefits Transfer Card
            • OTHER - Other tender types

            Values are UNKNOWN, DEBIT, VISA, MASTERCARD, AMEX, DINERS, DISCOVER, JCB, UNIONPAY, MAESTRO, GIFT, CASH, EBT, or OTHER.

          • The masked card number. The format may vary (e.g. *********0011, 4*0011, etc.)

          • The expiration date of the card in MMYY format.

        • cardType string

          The type of card used for this transaction:

          • UNKNOWN - The card type is unknown
          • DEBIT - Debit Card
          • VISA - Visa Credit Card
          • MASTERCARD - MasterCard Credit Card
          • AMEX - American Express Credit Card
          • DINERS - Diners Club Credit Card
          • DISCOVER - Discover Credit Card
          • JCB - JCB Credit Card
          • UNIONPAY - UnionPay Credit Card
          • MAESTRO - Maestro Debit Card
          • GIFT - Gift Card
          • CASH - All-cash Transaction
          • EBT - Electronic Benefits Transfer Card
          • OTHER - Other tender types

          Values are UNKNOWN, DEBIT, VISA, MASTERCARD, AMEX, DINERS, DISCOVER, JCB, UNIONPAY, MAESTRO, GIFT, CASH, EBT, or OTHER.

        • The AVS (Address Verification Service) result. Typically returned on Card Not Present transactions.

          • A - Address matches, ZIP does not. The first five numerical characters contained in the address match those stored at the VIC or issuer's center. However, the ZIP code does not match.
          • E - Ineligible transaction.
          • N - Neither address nor ZIP matches. Neither the first five numerical characters contained in the address match with those stored at the VIC nor issuer's center nor the ZIP code match.
          • R - Retry (system unavailable or timed out).
          • S - Card type not supported. The card type for this transaction is not supported by AVS. AVS can verify addresses for Visa cards, MasterCard, proprietary cards, and private label transactions.
          • U - Address information unavailable.
          • G - Address information unavailable, International - Visa only, The address information was not available at the VIC or issuer's center.
          • W - Nine-digit ZIP match, address does not. The nine-digit Postal ZIP code matches that stored at the VIC or card issuer's centre. However, the first five numerical characters contained in the address do not match.
          • X - Exact match (nine digit ZIP and address). Both the nine-digit Postal ZIP code as well as the first five numerical characters contained in the address match.
          • Y - Address and five-digit ZIP match. Both the five-digit Postal ZIP code as well as the first five numerical characters contained in the address match.
          • Z - Five-digit ZIP matches, address does not. The five-digit Postal ZIP code matches that stored at the VIC or card issuer's centre.

          NOTE: Transactions can still be authorized if the AVS responses are no match or failure. AVS responses are for merchant information only, and usually do not influence the overall Authorization result. This can vary based on the Issuing Bank.

          Values are A, E, N, R, S, U, G, W, X, Y, or Z.

        • The CVV verification result. Typically returned on Card Not Present transactions.

          • M - CVV Match
          • N - CVV No Match
          • P - Not Processed
          • S - CVV should be on the card but the merchant indicates it is not.
          • U - User is unregistered

          NOTE: Transactions can still be authorized if the CVV responses are no match or failure. CVV responses are for merchant information only, and usually do not influence the overall Authorization result. This can vary based on the Issuing Bank.

          Values are M, N, P, S, or U.

        • The account type of the card (e.g. Credit or Debit)

        • A meaningful text explaining the response code from the host.

        • receipt object

          The receipt associated with this transaction. Returned for Card Present transactions.

          Hide receipt attribute Show receipt attribute object
          • lines array[string]

            The receipt lines.

  • 401 application/json

    Unauthorized response due to an invalid or missing API key.

    Hide response attributes Show response attributes object
    • code number

      Numeric error code. These are grouped into ranges for easier identification and troubleshooting.

      • 1000 - AuthenticationGenericError
      • 2000 - RequestValidationGenericError
      • 3000 - UnknownServerGenericError
      • 9000 - UnhandledGenericError

      Values are 1000, 2000, 3000, or 9000.

    • status string

      Execution status of the request sent to the payment gateway.

      • Completed - The request completed successfully.
      • Rejected - The request was rejected by the payment gateway. No action or side effects occurred. The transaction can safely be retried.
      • Interrupted - The request was interrupted, and the final status is unknown. Possible side effects may have occurred (e.g., a Sale (Token) that returns Interrupted might still charge the customer, even if an error is returned). Additional checks are required before retrying the transaction.
      • Unknown

      Values are Completed, Rejected, Interrupted, or Unknown.

    • message string

      Developer-facing error message.

    • traceId string

      Unique trace identifier for tracking and debugging this request.

    • timestamp string(date-time)

      The timestamp when the error occurred (UTC).

    • errorDetails array[object]

      Represents a validation error that occurred during the request.

      Hide errorDetails attributes Show errorDetails attributes object
GET /transactions
curl \
 --request GET 'https://api.omni.integratedcommerce.io/v1/transactions' \
 --header "x-api-key: $API_KEY"
{
  "page": 1,
  "items": [
    {
      "id": "trx_01JWBPE27KHY2K4J7A13ATQ786",
      "type": "Sale",
      "timestamp": "2025-05-22T17:00:50Z",
      "resultCode": 0,
      "resultText": "APPROVED",
      "orderNumber": "order_number_1234",
      "referenceId": "ref_s192i49i",
      "balanceAmount": 0,
      "invoiceNumber": "inv_12345678",
      "paymentMethod": {
        "id": "pmt_vrt_01JRZPTWS99Z7RB57Q1CVWSWDS",
        "type": "Virtual",
        "currency": "USD",
        "description": "Online Checkout Iframe"
      },
      "approvedAmount": 1000,
      "requestedAmount": 1000,
      "transactionResponses": [
        {
          "authCode": "111890",
          "cardType": "VISA",
          "avsResult": "Y",
          "cvvResult": "M",
          "accountType": "Credit",
          "responseCode": 1,
          "paymentMethod": {
            "id": "pmt_tkn_01JRZPRGFF4J2SZC3HMDBYEN2J",
            "type": "Token",
            "cardType": "VISA",
            "currency": "USD",
            "cardExpDate": "1225",
            "description": "Token for John Doe's Visa",
            "maskedCardNumber": "4****1111"
          },
          "amountApproved": 1000,
          "hostResponseText": "APPROVED"
        }
      ]
    },
    {
      "id": "trx_01JWBNTQ6G0MJWVADFZVYMXPBF",
      "type": "Sale",
      "timestamp": "2025-05-22T19:22:47Z",
      "resultCode": 0,
      "resultText": "APPROVED",
      "orderNumber": "order_number_1234",
      "referenceId": "ref_s192i49i",
      "balanceAmount": 0,
      "invoiceNumber": "inv_12345678",
      "paymentMethod": {
        "id": "pmt_tkn_01JRZPRGFF4J2SZC3HMDBYEN2J",
        "type": "Token",
        "currency": "USD",
        "description": "Token for John Doe's Visa"
      },
      "approvedAmount": 1000,
      "requestedAmount": 1000,
      "transactionResponses": [
        {
          "authCode": "111048",
          "cardType": "VISA",
          "avsResult": "Y",
          "cvvResult": "M",
          "accountType": "Credit",
          "responseCode": 1,
          "paymentMethod": {
            "id": "pmt_tkn_01JRZPRGFF4J2SZC3HMDBYEN2J",
            "type": "Token",
            "cardType": "VISA",
            "currency": "USD",
            "cardExpDate": "1225",
            "description": "Token for John Doe's Visa",
            "maskedCardNumber": "4****1111"
          },
          "amountApproved": 1000,
          "hostResponseText": "APPROVED"
        }
      ]
    }
  ],
  "pageSize": 10,
  "totalCount": 2,
  "totalPages": 1,
  "hasNextPage": false,
  "hasPreviousPage": false
}
{
  "page": 1,
  "items": [
    {
      "id": "trx_01JWBNTQ6G0MJWVADFZVYMXPBF",
      "type": "Capture",
      "timestamp": "2025-05-27T18:59:31Z",
      "resultCode": 0,
      "resultText": "APPROVED",
      "orderNumber": "order_number_1234",
      "referenceId": "ref_s192i49i",
      "balanceAmount": 0,
      "invoiceNumber": "inv_12345678",
      "paymentMethod": {
        "id": "pmt_tkn_01JRZPRGFF4J2SZC3HMDBYEN2J",
        "type": "Token",
        "currency": "USD",
        "description": "Token for John Doe's Visa"
      },
      "approvedAmount": 450,
      "requestedAmount": 450,
      "transactionResponses": [
        {
          "authCode": "111688",
          "cardType": "VISA",
          "avsResult": "Y",
          "cvvResult": "M",
          "accountType": "Credit",
          "responseCode": 1,
          "paymentMethod": {
            "id": "pmt_tkn_01JRZPRGFF4J2SZC3HMDBYEN2J",
            "type": "Token",
            "cardType": "VISA",
            "currency": "USD",
            "cardExpDate": "1225",
            "description": "Token for John Doe's Visa",
            "maskedCardNumber": "************0011"
          },
          "amountApproved": 450,
          "hostResponseText": "APPROVED",
          "maskedCardNumber": "4****5297"
        }
      ]
    },
    {
      "id": "trx_01JWBPE27KHY2K4J7A13ATQ786",
      "type": "Sale",
      "timestamp": "2025-05-27T18:49:31Z",
      "resultCode": 0,
      "resultText": "APPROVED",
      "orderNumber": "order_number_1234",
      "referenceId": "ref_s192i49i",
      "balanceAmount": 0,
      "invoiceNumber": "inv_12345678",
      "paymentMethod": {
        "id": "pmt_vrt_01JRZPTWS99Z7RB57Q1CVWSWDS",
        "type": "Virtual",
        "currency": "USD",
        "description": "Online Checkout Iframe"
      },
      "approvedAmount": 1000,
      "requestedAmount": 1000,
      "transactionResponses": [
        {
          "authCode": "111890",
          "cardType": "VISA",
          "avsResult": "Y",
          "cvvResult": "M",
          "accountType": "Credit",
          "responseCode": 1,
          "paymentMethod": {
            "id": "pmt_tkn_01JRZPRGFF4J2SZC3HMDBYEN2J",
            "type": "Token",
            "cardType": "VISA",
            "currency": "USD",
            "cardExpDate": "1225",
            "description": "Token for John Doe's Visa",
            "maskedCardNumber": "************0011"
          },
          "amountApproved": 1000,
          "hostResponseText": "APPROVED",
          "maskedCardNumber": "4****1111"
        }
      ]
    }
  ],
  "pageSize": 10,
  "totalCount": 2,
  "totalPages": 1,
  "hasNextPage": false,
  "hasPreviousPage": false
}
Response examples (401)
{
  "code": 1000,
  "status": "Rejected",
  "message": "Invalid or missing API key",
  "traceId": "1-6838be96-74c62f8e2804352739e63476",
  "timestamp": "2025-05-29T20:07:50.4723483Z",
  "errorDetails": []
}