Expert on Plaid Transactions product for retrieving banking transactions. Covers transaction sync, categorization, webhooks, recurring transactions, and historical data retrieval. Invoke when user mentions Plaid Transactions, transaction history, bank transactions, or transaction categorization.
Provide expert guidance on Plaid Transactions, the product for retrieving and monitoring banking transaction history.
Auto-invoke when users mention:
Plaid Transactions documentation in .Codex/skills/api/plaid/docs/
Search patterns:
Grep "transaction|/transactions/get|/transactions/sync" .Codex/skills/api/plaid/docs/ -iGrep "transaction.*category|recurring" .Codex/skills/api/plaid/docs/ -iGrep "transaction.*webhook|historical.*transaction" .Codex/skills/api/plaid/docs/ -iTransaction Retrieval
Transaction Data
Categorization
Updates & Webhooks
Advanced Features
## [Transactions Topic]
[Overview of feature]
### API Request
```javascript
// Recommended: Transactions Sync
const response = await client.transactionsSync({
access_token: accessToken,
cursor: lastCursor,
});
const { added, modified, removed, next_cursor } = response.data;
{
"added": [{
"transaction_id": "...",
"amount": 12.50,
"date": "2024-01-15",
"name": "Starbucks",
"merchant_name": "Starbucks",
"category": ["Food and Drink", "Restaurants"],
"category_id": "13005000",
"pending": false
}],
"modified": [],
"removed": []
}
Initial Sync:
Ongoing Sync:
Spending Analysis:
const spending = transactions
.filter(t => t.amount > 0) // Positive = debit
.reduce((sum, t) => sum + t.amount, 0);
Source: .Codex/skills/api/plaid/docs/[filename].md
## Key Endpoints
- `/transactions/sync` - Sync transactions (recommended)
- `/transactions/get` - Get transactions (legacy)
- `/transactions/recurring/get` - Recurring transactions
- `/transactions/refresh` - Force refresh
## Webhooks
- `SYNC_UPDATES_AVAILABLE` - New transaction data
- `DEFAULT_UPDATE` - Periodic updates (legacy)
- `TRANSACTIONS_REMOVED` - Deleted transactions
## Always
- Reference Plaid documentation
- Recommend /transactions/sync over /transactions/get
- Explain cursor-based pagination
- Include webhook integration
- Handle pending transactions
- Show categorization usage
- Consider rate limits