Skip to main content
Vending events are a crucial aspect of the Marshall SDK, enabling your application to handle various stages of the vending process.
  • For Java and the C# SDKs the vend_callbacks_t interface defines the set of callback methods that your application must implement to respond to these events.
  • In the C SDK the vmc_vend_event_e enumeration performs the same.
The sections below provide an overview of these events and their respective callback methods.

Vending callbacks interface

Java and C# SDKs OnlyThe interface described on this section is relevant for the Java and C# SDKs only.
The vend_callbacks_t interface is designed to handle events related to vending operations.
Implementing this interface allows your application to manage the lifecycle of a vending session, from initiation to settlement, and handle various statuses and commands received from Nayax’s devices. Below is a list of methods available when using the vend_callbacks_t interface:

Interface methods

The table below provides a more detailed description of the Methods.

Vending events enumeration

C SDK OnlyThe enumeration described in this section is relevant for the C SDK only.
The vmc_vend_event_e enumeration is designed to handle events related to vending operations in the C SDK.
C

Enumeration methods

Below is a list of methods available when using the vend_callbacks_t interface: