Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
.NET SDK - Litle Auth Reversal Transaction
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Litle.Sdk;
//Auth Reversal Transaction
class Example
{
[STAThread]
public static void Main(String[] args)
{
LitleOnline litle = new LitleOnline();
authReversal reversal = new authReversal();
//litleTxnId contains the Litle Transaction Id returned on the auth
reversal.litleTxnId = 1000000000000000000;
authReversalResponse reversalResponse = litle.AuthReversal(reversal);
//Display Results
Console.WriteLine("Response: " + reversalResponse.response);
Console.WriteLine("Message: " + reversalResponse.message);
Console.WriteLine("Litle Transaction Id: " + reversalResponse.litleTxnId);
Console.ReadLine();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment