Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Ruby SDK - Litle Capture Given Auth transaction
require 'LitleOnline'
include LitleOnline
#Capture Given Auth
capture_given_auth_info = {
'merchantId' => '101',
'authInformation' => {
'number' =>'4100000000000001',
'expDate' =>'1210'
response =
#display results
puts "Response: " + response.captureGivenAuthResponse.response
puts "Message: " + response.captureGivenAuthResponse.message
puts "Litle Transaction ID: " + response.captureGivenAuthResponse.litleTxnId
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment