Get a transaction
Returns one transaction of your tenant with its full timeline of events.
- GET/api/v1/transactions/{transactionRef}
Request
| Method | GET |
| Path | /api/v1/transactions/{transactionRef} |
| Base URL | https://api.ventrahq.tech |
| Group | Transactions |
| Authentication | Bearer access token: Authorization: Bearer <access-token>. The tenant comes from the credential, never from the request. |
| Roles | Any authenticated role. Auditor and supervisor credentials get outcomes and hashes without message bodies or field values. |
| Operation id | get_transactions__transactionRef_ |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
transactionRef | path | string | Yes | The transaction reference. |
No request body.
Response
200 with application/json.
| Field | Type | Description |
|---|---|---|
transactionRef | string | The transaction reference. |
tenant_id | string | Your tenant. |
state | string | State of the first timeline entry. |
timeline | array | Timeline entries, as recorded. |
timeline[].event_ref | string | Event reference within the transaction. |
timeline[].vim_type | string | Ventra Interchangeable Message (VIM) type of the event, for example VENT.SETT.STATUS.001. |
timeline[].emitter_slot | string | Role slot of the party that sent the message (S1 to S9). |
timeline[].state | string | State after the event. |
timeline[].outcome | string or null | Match or gate outcome of the event, when there is one. |
timeline[].message_id | string or null | Identifier of the VIM message, when the event came from one. |
timeline[].event_id | string or null | Identifier of the recorded event; use it to get its proof bundle. |
timeline[].occurred_at | string (date-time) | Time of the event. |
Example (placeholder values):
{
"transactionRef": "<transaction-ref>",
"tenant_id": "<your-tenant>",
"state": "<state>",
"timeline": [
{
"event_ref": "<event-ref>",
"vim_type": "VENT.SETT.STATUS.001",
"emitter_slot": "S1",
"state": "<state>",
"outcome": null,
"message_id": "<message-id>",
"event_id": "<event-id>",
"occurred_at": "2026-12-01T09:30:00.000Z"
}
]
}
Errors
Errors of this operation are problem details (application/problem+json).
| Status | When |
|---|---|
400 | The request is malformed, for example a parameter of the wrong type. |
401 | No valid credential, or the credential carries no tenant. |
403 | The credential is valid but its role may not use this operation. |
404 | No event of your tenant carries this transaction reference. |
Authentication failures and rate limits are answered before the operation, in another body shape. See Status, errors and retries.
Example
curl -sS "https://api.ventrahq.tech/api/v1/transactions/<transaction-ref>" \
-H "Authorization: Bearer <access-token>" \
-H "Accept: application/json"
Related
- API reference · Every documented operation of the Ventra Platform API v1, grouped by resource, generated from the specification.
- Status, errors and retries · The status codes of the API, its two error shapes, rate limits, which calls to retry and how to page through a list.
- Environments and keys · Where the API runs, how a call is authenticated, and how to keep a credential out of places it does not belong.
Last reviewed 2026-12-01