Skip to content

Instantly share code, notes, and snippets.

@VantivSDK
Created April 13, 2012 14:23
Show Gist options
  • Save VantivSDK/2377240 to your computer and use it in GitHub Desktop.
Save VantivSDK/2377240 to your computer and use it in GitHub Desktop.
.NET SDK - Litle echeck Credit 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 from an earlier echeck sale
LitleOnline litle = new LitleOnline();
echeckCredit credit = new echeckCredit();
credit.litleTxnId = 100000000000000001;
echeckCreditResponse response = litle.EcheckCredit(credit);
//Display Results
Console.WriteLine("Response: " + response.response);
Console.WriteLine("Message: " + response.message);
Console.WriteLine("Litle Transaction Id: " + response.litleTxnId);
Console.ReadLine();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment