Skip to main content
GET
/
v1
/
transactions
List transactions
curl --request GET \
  --url https://api.triqai.com/v1/transactions \
  --header 'X-API-Key: <api-key>'
{
  "success": true,
  "data": {
    "transactions": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "raw": "<string>",
        "direction": "expense",
        "status": "pending",
        "partial": true,
        "errors": [
          "<string>"
        ],
        "createdAt": "2023-11-07T05:31:56Z",
        "country": "<string>",
        "processingTimeMs": 123,
        "transaction": {
          "category": {
            "primary": {
              "name": "Shopping",
              "code": {
                "mcc": 5411,
                "sic": 5411,
                "naics": 445110
              }
            },
            "confidence": 50,
            "secondary": {
              "name": "Shopping",
              "code": {
                "mcc": 5411,
                "sic": 5411,
                "naics": 445110
              }
            },
            "tertiary": {
              "name": "Shopping",
              "code": {
                "mcc": 5411,
                "sic": 5411,
                "naics": 445110
              }
            }
          },
          "subscription": {
            "recurring": true,
            "type": "streaming"
          },
          "channel": "in_store",
          "confidence": 50
        },
        "enrichments": {
          "merchant": {
            "status": "found",
            "confidence": 50,
            "data": {
              "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
              "name": "Amazon",
              "alias": [
                "<string>"
              ],
              "keywords": [
                "<string>"
              ],
              "icon": "<string>",
              "description": "<string>",
              "color": "<string>",
              "website": "<string>",
              "domain": "<string>"
            }
          },
          "location": {
            "status": "found",
            "confidence": 123,
            "data": {
              "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
              "name": "<string>",
              "formatted": "<string>",
              "structured": {
                "street": "<string>",
                "city": "<string>",
                "state": "<string>",
                "postalCode": "<string>",
                "country": "<string>",
                "countryName": "<string>",
                "coordinates": {
                  "latitude": 123,
                  "longitude": 123
                },
                "timezone": "<string>"
              },
              "phoneNumber": "<string>"
            }
          },
          "paymentProcessor": {
            "status": "found",
            "confidence": 123,
            "data": {
              "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
              "name": "PayPal",
              "icon": "<string>",
              "color": "<string>",
              "website": "<string>"
            }
          },
          "peerToPeer": {
            "status": "found",
            "confidence": 123,
            "data": {
              "platform": {
                "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
                "name": "Venmo",
                "icon": "<string>",
                "color": "<string>",
                "website": "<string>"
              },
              "recipient": {
                "displayName": "John Doe"
              },
              "memo": "<string>"
            }
          }
        }
      }
    ],
    "pagination": {
      "page": 123,
      "size": 123,
      "total": 123,
      "totalPages": 123
    }
  },
  "meta": {
    "generatedAt": "2023-11-07T05:31:56Z",
    "requestId": "<string>",
    "version": "<string>"
  }
}

Authorizations

X-API-Key
string
header
required

Organization API key for authentication

Query Parameters

page
integer
default:1

Page number (starts at 1)

Required range: x >= 1
size
integer
default:25

Number of items per page

Required range: 1 <= x <= 100
startDate
string<date-time>

Filter transactions created on or after this date (ISO 8601)

endDate
string<date-time>

Filter transactions created on or before this date (ISO 8601)

Response

Transaction list

success
boolean
Example:

true

data
object
meta
object