MellonGroupPOS.sendTransaction Method
Public Function sendTransaction( _
ByVal APIKey As String, _
ByVal terminalID As String, _
ByVal transaction As posTransaction _
) As Dictionary(Of String, String)
This language is not supported or no code example is available.
Parameters
- APIKey
- string
The API key that is obtained by the getApiKey method.
- terminalID
- string
The Terminal ID. You can retrive all available terminals using the getTerminalList Method.
- transaction
- posTransaction
The POS Transaction, type of posTransaction.
Return Value
Dictionary<string, string>
MellonGroupPOS(mlg == new MellonGroupPOS("Arbitrans User", "Arbitrans Key", false));
// Initialize a new posTransaction object. Utilizing 'mlg.newTransaction', you can only input the necessary fields.
MellonGroupPOS.posTransaction tra = mlg.newTransaction;
tra.TxnType = 0;
tra.Amount = 112.37d;
tra.Instalments = 12;
tra.Timeout = 60;
tra.CustomerReference = "TEST TRANSACTION - SIMPLE";
// Send the transaction to the POS and get the result of the transaction.
Dictionary<string, string> traRes = mlg.sendTransaction("myAPIKey", "myTerminalID", tra);
This language is not supported or no code example is available.
MellonGroupPOS mlg = new MellonGroupPOS("Arbitrans User", "Arbitrans Key", False)
'Initialize a new posTransaction object. Utilizing 'mlg.newTransaction', you can only input the necessary fields.
Dim tra As MellonGroupPOS.posTransaction = mlg.newTransaction
tra.TxnType = 0
tra.Amount = 112.37
tra.Instalments = 12
tra.Timeout = 60
tra.CustomerReference = "TEST TRANSACTION - SIMPLE"
'Send the transaction to the POS and get the result of the transaction.
Dim traRes As Dictionary(Of String, String) = mlg.sendTransaction("myAPIKey", "myTerminalID", tra)
This language is not supported or no code example is available.