Skip to main content
PUT
/
api
/
v1
/
alerts
/
{id}
/
resolution
Provide alert resolution
curl --request PUT \
  --url https://api.trusto.one/api/v1/alerts/{id}/resolution \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amountStopped": 100.12,
  "comments": "Comments",
  "resolution": "PARTIALLY_STOPPED",
  "refunded": "REFUNDED"
}
'

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"

Body

application/json
amountStopped
number
required

Stopped amount of the transaction. Applicable only to the resolution=PARTIALLY_STOPPED

Example:

100.12

comments
string
required

Free-form comment that merchant thinks necessary to pass with the resolution

Example:

"Comments"

resolution
enum<string>
required

Resolution outcome

Available options:
STOPPED,
PARTIALLY_STOPPED,
PREVIOUSLY_CANCELLED,
MISSED,
NOTFOUND,
ACCOUNT_SUSPENDED,
IN_PROGRESS,
SHIPPER_CONTACTED,
OTHER,
RESOLVED,
PREVIOUSLY_REFUNDED,
UNRESOLVED_DISPUTE,
NOT_FOUND
Example:

"PARTIALLY_STOPPED"

refunded
enum<string>
required

The refund decision made by the merchant

Available options:
REFUNDED,
NOT REFUNDED,
NOT SETTLED
Example:

"REFUNDED"

Response

200 - undefined