v1

latestOpenAPI 3.0.12026-07-26181265484.9 KB
Machines

Get Last Sales for Machine by MachineID

Retrieves the most recent sales transactions for a specific machine, identified by MachineID. This allows users to view the latest sales activity associated with the machine.

get/v1/machines/{MachineID}/lastSales

Path parameters

MachineIDinteger required

The unique identifier of the machine.

Response

A list of the most recent sales transactions for the specified machine.

TransactionIDinteger

The unique identifier for the sales transaction.

PaymentServiceTransactionIDstring nullable

The identifier for the transaction as provided by the payment service.

PaymentServiceProviderNamestring nullable

The name of the payment service provider used in the transaction.

MachineIDinteger

The unique identifier of the machine where the transaction occurred.

MachineNamestring nullable

The name of the machine where the transaction occurred.

MachineNumberstring nullable

The serial or identification number of the machine.

InstituteLocationNamestring nullable

The name of the location or institute where the machine is installed.

AuthorizationValuenumber double

The authorized amount for the transaction.

SettlementValuenumber double

The settled amount for the transaction.

CurrencyCodestring nullable

The currency code in which the transaction was conducted.

PaymentMethodstring nullable

The payment method used for the transaction (e.g., credit card, mobile payment).

RecognitionMethodstring nullable

The method used to recognize the payment (e.g., card swipe, NFC).

CardNumberstring nullable

The masked card number used in the transaction, if applicable.

CardBrandstring nullable

The brand of the card used (e.g., Visa, MasterCard).

CLIstring nullable

The CLI (Caller Line Identification) or associated identifier for the transaction.

ProductNamestring nullable

The name of the product sold in the transaction.

MultivendTransactionBitboolean

Indicates whether the transaction involved multiple products (multi-vend).

MultivendNumverOfProductsinteger

The number of products involved in a multi-vend transaction.

UnitOfMeasurementstring nullable

The unit of measurement for the product (e.g., liters, pieces).

Quantitynumber double

The quantity of the product sold in the transaction.

EnergyConsumednumber double

The amount of energy consumed during the transaction, if applicable.

AuthorizationDateTimeGMTstring date-time

The date and time when the transaction was authorized, in GMT.

MachineAuthorizationTimestring date-time

The local date and time when the machine authorized the transaction.

SettlementDateTimeGMTstring date-time

The date and time when the transaction was settled, in GMT.

SiteIDinteger

The unique identifier of the site where the machine is located.

SiteNamestring nullable

The name of the site where the machine is located.