HomePaymentsNo-codeDevelopersContribute
Safepay Home PageLive DashboardTest Dashboard

Tracker states


Tracker state

A tracker is essentially a state machine where a transition between states occurs when certain actions are executed e.g. when an a card authorization is made or a payment is refunded. The possible states for a tracker are documented below.

Tracker states

StateDescription
TRACKER_STARTEDThe tracker has been created or reset and payment actions may be performed.
TRACKER_AUTHORIZEDThe latest attempt has created an authorization which may now be captured.
TRACKER_ENROLLEDThe enrollment check has been performed. Relevant for 3DS payer authentication for card payments.
TRACKER_ENDEDThe tracker has been paid.
TRACKER_CANCELLEDThe customer has cancelled the payment session.
TRACKER_EXPIREDThe tracker has been expired and may no longer be updated.
TRACKER_REFUNDEDThe payment has been fully refunded.
TRACKER_PARTIAL_REFUNDThe payment has been partially refunded.
TRACKER_DISPUTEDA dispute has been recorded against the payment.
TRACKER_REVERSEDThe authorization under the latest attempt of the tracker has been reversed.
TRACKER_VOIDEDThe payment has been voided.

How to interpret tracker states

The following table shows what actions may be performed when the tracker is in a particular state.

StateInterpretation
TRACKER_STARTEDPayment actions may be executed via the Safepay Order API.
TRACKER_AUTHORIZEDThe authorization may be captured. It may also be reversed if applicable.
TRACKER_ENROLLEDThe client may proceed with authorization.
TRACKER_ENDEDNo more payment actions are allowed. The tracker may be voided, refunded, or disputed.
TRACKER_CANCELLEDNo actions may be taken.
TRACKER_EXPIREDNo actions may be taken.
TRACKER_REFUNDEDThe refund may be voided if applicable.
TRACKER_PARTIAL_REFUNDExisting refunds may be voided if applicable. Additional refunds may also be requested.
TRACKER_DISPUTEDNo actions may be taken.
TRACKER_REVERSEDNo actions may be taken.
TRACKER_VOIDEDNo actions may be taken.