Skip to main content
GET
/
api
/
v1
/
alerts
/
{id}
/
outcome
Get alert resolution
curl --request GET \
  --url https://api.trusto.one/api/v1/alerts/{id}/outcome \
  --header 'Authorization: Bearer <token>'
{
  "id": "4a0c8f5d-4b8d-4f4d-8f1a-2f8c9c1e5b7b",
  "alertId": "4a0c8f5d-4b8d-4f4d-8f1a-2f8c9c1e5b7b",
  "ethocaID": "123456",
  "outcome": "stopped",
  "refunded": "refunded",
  "amountStopped": 100.12,
  "comments": "This is a comment",
  "actionTimestamp": "2024-01-01T00:00:00.000Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Alert ID

Example:

"123e4567-e89b-12d3-a456-426614174000"

Response

200 - application/json

Alert outcome

id
string<uuid>
required

Unique identifier of the outcome

Example:

"4a0c8f5d-4b8d-4f4d-8f1a-2f8c9c1e5b7b"

alertId
string<uuid>
required

Unique identifier of the alert

Example:

"4a0c8f5d-4b8d-4f4d-8f1a-2f8c9c1e5b7b"

ethocaID
string
required

Ethoca ID of the Ethoca alert

Example:

"123456"

outcome
enum<string>
required

The outcome of the resolution

Available options:
stopped,
partially_stopped,
previously_cancelled,
missed,
notfound,
account_suspended,
in_progress,
shipper_contacted,
other,
resolved,
previously_refunded,
unresolved_dispute,
not_found
Example:

"stopped"

refunded
enum<string>
required

The refund decision

Available options:
refunded,
not refunded,
not settled
Example:

"refunded"

amountStopped
number
required

The amount stopped

Example:

100.12

comments
string
required

Comments

Maximum string length: 250
Example:

"This is a comment"

actionTimestamp
string<date-time (ISO 8601)>
required

Timestamp of the resolution

Example:

"2024-01-01T00:00:00.000Z"