posTransaction Structure
It contains all the necessary fields to initiate a new POS Transaction.
The MellonGroupPOS.newTransaction method uses this structure.
Name | Description | |
---|---|---|
Amount |
Mandatory Field The payable transaction amount. |
|
CashbackAmount | The cashback amount. | |
CurrencyCode |
Mandatory Field The ISO 4217 numerical currency code. 978 for EUR |
|
CustomerEmail | If provided and supported by the acquirer, a transaction receipt will be sent to this email address. | |
CustomerPhone | If provided and supported by the acquirer, a transaction receipt will be sent to this phone. | |
CustomerReference |
Mandatory Field A caller defined reference which can be used to reference the intent and eventually the transaction. Maximum length Of 50 characters. |
|
EcrTokenData |
A data object representing the relevant data required by Greek law to accompany an ECR token MAC based transaction request. See the EcrTokenData structure for details. |
|
InitialTransaction | Required for pre-auth completion and refund transactions And it should include the TransactionId field of the original transaction. | |
Instalments | The number of instalments. | |
OnBehalfCollection | The payee collects the transaction funds on behalf of another entity, ex. courier payment on delivery, food delivery platforms, etc | |
PreloadExpiration |
The field Is mandatory if PreloadTransaction Is true.
The expiration of a transaction that is preloaded to a POS, in minutes. |
|
PreloadTransaction |
The transaction should be preloaded to the POS device for asynchronous execution. Used for cases such as restaurants, deliveries, coffee shops etc. |
|
ProviderData |
A data object representing the relevant data required by Greek law to accompany a provider signature based transaction request. See the ProviderData structure for details. |
|
Timeout |
If timeout is 0, the transaction will be initiated asynchronously. If present, the service will wait up to "Timeout" seconds before returning to the caller. Max timeout is 180s. |
|
TipAmount | The tip amount. | |
TxnType |
Mandatory Field The transaction type. |
|
isTaxFree | Is the transaction eligible to tax-free regulation |