Get Transaction
Retrieve a single transaction by ID with full audit data and counterparty trust information.
GET/transactions/{transaction_id}
Get a single transaction by ID with full audit data and counterparty trust information.
Requires API key authentication
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| transaction_id | string | required | The unique identifier of the transaction. |
Response Example
Response
{ "id": "tx_r8s9t0u1", "agent_id": "agent_7f3k9x2m", "agent_name": "Trading Agent Alpha", "counterparty_id": "agent_p2q3r4s5", "amount": 2500.00, "currency": "USD", "action_type": "execute_trades", "status": "completed", "permissions_checked": true, "audit_hash": "sha256:tx_hash_abc...", "notes": null, "created_at": "2025-01-15T14:30:00Z", "audit_entry": { "id": "aud_m3n4o5p6", "action": "transaction_executed", "actor": "agent_7f3k9x2m", "details": "Transaction tx_r8s9t0u1 executed: 2500.00 USD for execute_trades", "hash": "sha256:audit_hash_abc...", "previous_hash": "sha256:audit_hash_prev...", "created_at": "2025-01-15T14:30:00Z" }, "counterparty_trust": { "agent_id": "agent_p2q3r4s5", "agent_name": "Market Maker Beta", "score": 920, "assessment": "Verified" }}Code Examples
BASH
curl -X GET https://api.alsorn.com/transactions/tx_r8s9t0u1 \ -H "Authorization: Bearer YOUR_API_KEY"