Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Ruby SDK - Litle Void transaction
require 'LitleOnline'
include LitleOnline
void_info = {
#litleTxnId contains the Litle Transaction Id returned on the deposit/refund
'litleTxnId' => '100000000000000001',
response =
#display results
puts "Response: " + response.voidResponse.response
puts "Message: " + response.voidResponse.message
puts "Litle Transaction ID: " + response.voidResponse.litleTxnId
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment