Skip to main content
The StopCallback endpoint is used to notify the integrator that a consumer has presented their payment card at the terminal in an attempt to stop an ongoing session. This process allows the Spark integrator to validate and match the card against an active session that was originally authorized on the same terminal. This is primarily used in the Pre-Authorization transaction flow, if you choose to implement it.
Enable StopCallbackThis feature must be enabled in Nayax Core during the integration.
While the payment terminal is in Idle mode, it can accept a card presentation. If Nayax recognizes the card as belonging to an active transaction, it sends the StopCallback with the transaction details. If a session match is found, you need to send a Settlement request to complete the session termination.

Request

Spark sends a POST request to your configured StopCallback endpoint: https://<YOUR_DOMAIN>/StopCallback The body parameters are as in the example below:

Request parameters

The table below describes the parameters of the request:

Response

This is a callback from Nayax, so no response body is required. Return 200 OK to acknowledge it within 5 seconds. If no acknowledgment arrives in that time, the consumer experience is considered failed.