What is the Transactions API?
The Transactions API (v2) allows you to programmatically access expense data made with Clara cards. This includes both physical and virtual card transactions, with detailed metadata such as amount, currency, merchant, category, and status. You can use this API to:- Build automated reporting dashboards
- Analyze spend by user, team, or category
- Monitor transaction activity in near real-time
Available Endpoints
1⃣ Retrieve all transactions
Fetch a list of all transactions for your company. You can apply optional filters such asstatus, userUuid, or date range.
Endpoint
GET /v2/transactions
cURL Request
cURL
/v2/transactions?status=APPROVED&userUuid=abc-123
Sample JSON Response
JSON
2⃣ Retrieve Transaction by UUID
Fetch full details for a single transaction using its unique identifier.Endpoint
GET /v2/transactions/{uuid}
cURL Request
cURL
Sample JSON Response
JSON
**💡 Tip: ** Use the transaction status field to filter transactions by lifecycle stage (e.g. PENDING, APPROVED, DECLINED, etc.). ⚠️ Note: Some fields like description, category, or user may be updated after the transaction is first created, depending on reconciliation and review processes.
Endpoint Reference
GET /api/v2/transactions
List all transactions (v2)
Parameters:
Response Schema (
TransactionPageV3):
GET /api/v2/transactions/{uuid}
Get transaction by UUID (v2)
Parameters:
Response Schema (
TransactionResponseV3):
