Transactions API
5 operations. Back to the API overview. Examples use synthetic data.
(GET /admin/v1/claims) filters tracked claims
GET /admin/v1/claims
(GET /admin/v1/claims) filters tracked claims: transaction (the 837, the generated 277CA or a received 277CA), sender, ack_status (accepted, rejected), payer_status (accepted, rejected, other, none), from, to, before and limit. Codes, amounts and IDs only: no claim content.
Needs the permission: transactions:read.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
ack_status | query | string | optional | - |
payer_status | query | string | optional | - |
sender | query | string | optional | - |
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
claims | any | optional | - |
{
"claims": {}
}Other responses
400Bad Request401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/claims"Filters transaction metadata
GET /admin/v1/transactions
Filters transaction metadata: from, to (RFC 3339), status, type, route, sender, destination (a name or "route/destination") and destination_status (a delivery status: e.g. dead_lettered finds messages where any destination failed), before (an ID, for paging) and limit.
Needs the permission: transactions:read.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
destination | query | string | optional | - |
destination_status | query | string | optional | - |
route | query | string | optional | - |
sender | query | string | optional | - |
status | query | string | optional | - |
type | query | string | optional | - |
Response 200
{}Other responses
400Bad Request401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/transactions"Get transaction
GET /admin/v1/transactions/{id}
Needs the permission: transactions:read.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Response 200
{}Other responses
400Bad Request401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/transactions/example-id"Returns a raw payload (PHI) to a holder of payload:read, with a stated reason
POST /admin/v1/transactions/{id}/payload
Returns a raw payload (PHI) to a holder of payload:read, with a stated reason. The view is audited (database, and the stdout stream at NOTICE) before any content is returned; if the audit fails, nothing is shown.
Needs the permission: payload:read.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
note | string | optional | - |
reason_code | string | optional | - |
reference | string | optional | - |
{
"note": "example",
"reason_code": "Example text",
"reference": "example"
}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
payload_base64 | any | optional | - |
reference | any | optional | - |
transaction_id | integer | optional | - |
{
"payload_base64": {},
"reference": {},
"transaction_id": 1
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"note":"example","reason_code":"Example text","reference":"example"}' \
"https://YOUR-CONSOLE-HOST/admin/v1/transactions/example-id/payload"Re-injects a dead letter (RETRANSMIT)
POST /admin/v1/transactions/{id}/retransmit
Re-injects a dead letter (RETRANSMIT). The operator never sees the payload: the broker delivers the preserved DLQ copy server-side.
Needs the permission: dlq:retransmit.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
destinations | array of string | optional | Destinations names the destinations to retransmit to ("route/destination"): failed ones, or a delivered one to re-send it explicitly. Empty: every failed (dead-lettered) destination, never one that was delivered. |
reason | string | optional | - |
{
"destinations": [
"example"
],
"reason": "Example text"
}Response 202
| Field | Type | Presence | Description |
|---|---|---|---|
destinations | any | optional | - |
retransmission_id | integer | optional | - |
transaction_id | integer | optional | - |
{
"destinations": {},
"retransmission_id": 1,
"transaction_id": 1
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"destinations":["example"],"reason":"Example text"}' \
"https://YOUR-CONSOLE-HOST/admin/v1/transactions/example-id/retransmit"Something unclear or missing? Ask Help in the Velacent Bridge console; answers link to the right screen. How support works.