Prerequisites
Before you begin, you’ll need:- A Triqai account (sign up for free)
- An API key from your dashboard
Don’t have an account yet? You can test the API in our
Playground without signing up.
Step 1: Get Your API Key
Create an account
Sign up at triqai.com/register. No credit
card required for the free tier.
Access your dashboard
Navigate to your dashboard after signing
in.
Step 2: Install the SDK (Recommended)
The fastest way to get started is with the official Node.js / TypeScript SDK:Step 3: Make Your First Request
The core operation is enriching a transaction. Here’s how to use it:Step 4: Understand the Response
A successful enrichment returns comprehensive data about the transaction. The response uses an entities array, only identified entities are included:Response
Key Response Fields
| Field | Description |
|---|---|
success | Whether the request completed successfully |
partial | true if some enrichers failed but others succeeded |
data.transaction.category | Hierarchical category classification with confidence |
data.transaction.confidence | Overall enrichment confidence with reason tags |
data.entities[] | Array of identified entities (merchant, location, intermediary, person) |
data.entities[].type | Entity type: merchant, location, intermediary, or person |
data.entities[].role | Entity role in the transaction context |
data.entities[].confidence | Per-entity confidence { value, reasons } |
Step 5: Try Different Transactions
Test with various transaction types to see how Triqai handles different scenarios:- P2P Transfer
- Payment Processor
- Subscription
- In-Store
Next Steps
Now that you’ve made your first enrichment request, explore these resources:Node.js / TypeScript SDK
Use the official SDK for type-safe access with built-in retries and pagination
Authentication
Learn about API key management and security best practices
Core Concepts
Understand how transaction enrichment works in detail
API Reference
Explore all available endpoints and parameters