Create a gist now

Instantly share code, notes, and snippets.

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