Skip to main content
StopCallback
The StopCallback endpoint notifies the integrator that a consumer has presented a payment card to stop an ongoing session.

Body

application/json

The request payload containing details of the card and session to be stopped.

The request payload sent by Spark to an integrator's configured StopCallback endpoint to notify that a consumer has presented a card to stop an ongoing session. This is used to validate and match the card against an active session.

StopSiteId
integer<int16>

The ID of the site where the session stop was triggered.

MachineId
integer<int64>

The unique ID of the vending machine or device where the card was presented.

HwSerial
string

The hardware serial number of the terminal.

CardLast4Digits
string | null

The last four digits of the card used for the transaction.

CardHash
string

The hashed value of the payment card presented.

SparkTransactionId
string | null

The Spark transaction identifier of the original initiated session.

NayaxTransactionId
integer<int64> | null

The unique Nayax transaction ID associated with the open session.

CardUid
string | null

A unique identifier of the card, if available.

MachineAuTime
string | null

The terminal's local timestamp in the format yyyyMMddHHmmssSSS.

ServiceStationNumber
string | null

The identifier of the charging point or station used.

Response

200 - application/json
object | null

Success. A simple 200 OK server acknowledgment is sufficient.

The response payload from the integrator to Nayax's StopCallback, acknowledging the request and providing a status.

Status
object

Transaction Status Details

SparkTransactionId
string | null

The unique identifier for the Spark transaction that was requested to be stopped.

ServiceStationNumber
string | null

The number identifying the service station where the session stop was attempted. This value is provided by Nayax if the device is configured to support multiple service points.