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: Make Your First Request
The core endpoint for transaction enrichment isPOST /v1/transactions/enrich. Here’s how to use it:
Step 3: Understand the Response
A successful enrichment returns comprehensive data about the transaction: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 |
data.transaction.confidence | Overall enrichment confidence (0-100) |
data.enrichments.merchant | Merchant identification with branding |
data.enrichments.location | Geographic data with coordinates |
data.enrichments.paymentProcessor | Payment processor detection (if applicable) |
data.enrichments.peerToPeer | P2P platform detection (if applicable) |
Step 4: Try Different Transactions
Test with various transaction types to see how Triqai handles different scenarios:- P2P Transfer
- Payment Processor
- Subscription
- In-Store
Request