Skip to content

Instantly share code, notes, and snippets.

View magedmakled's full-sized avatar

Maged Makled magedmakled

  • Minneapolis, MN
View GitHub Profile
@magedmakled
magedmakled / litle_gateway_entity_creation
Created May 20, 2014 14:32
Litle Gateway Ruby Legal Entity Creation
xml = Builder::XmlMarkup.new; false
xml.instruct! :xml, :version=>"1.0", :encoding => "UTF-8", :standalone=> "yes"
xml.legalEntityCreateRequest "xmlns" => "http://psp.litle.com/api/merchant/onboard" do
xml.legalEntityName("Legal Entity Name")
xml.legalEntityType("LIMITED_LIABILITY_COMPANY")
xml.doingBusinessAs("Alternate Business Name")
xml.taxId("12345")
xml.contactPhone("7817659800")
xml.annualCreditCardSalesVolume("80000000")
xml.hasAcceptedCreditCards("true")