Skip to content

Instantly share code, notes, and snippets.

@styks1987
Created June 4, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save styks1987/5e967f7db521d2e05396 to your computer and use it in GitHub Desktop.
Save styks1987/5e967f7db521d2e05396 to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<createTransactionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
<merchantAuthentication>
<name></name>
<transactionKey></transactionKey>
</merchantAuthentication>
<transactionRequest>
<transactionType>authOnlyTransaction</transactionType>
<amount>310.36</amount>
<payment>
<creditCard>
<cardNumber>4111111111111111</cardNumber>
<expirationDate>2/2017</expirationDate>
<cardCode>123</cardCode>
</creditCard>
</payment>
<lineItems>
<lineItem>
<itemId>1</itemId>
<name>400 Labels</name>
<description>High Quality, 4.000&amp;quot; x 3.000&amp;quot; Rectangle, Black Only (1/C) Printing, White Plastic Squeezable, Gloss Finish - Thermal Printable, 1 Design, Electronic Proof</description>
<quantity>1</quantity>
<unitPrice>282.21</unitPrice>
</lineItem>
</lineItems>
<tax>
<amount>17.57</amount>
<name>Sales Tax Greenville</name>
</tax>
<shipping>
<amount>10.58</amount>
<name>UPS 3 Day Select</name>
</shipping>
<taxExempt>false</taxExempt>
<poNumber />
<customer>
<id>6790</id>
<email>testing@mergeweb.com</email>
</customer>
<billTo>
<firstName>Anthony</firstName>
<lastName>Goodin</lastName>
<company>Aunt Fannie, Inc.</company>
<address>2 North Main Area M</address>
<city>Greenville</city>
<state>South Carolina</state>
<zip>29601</zip>
<country>United States</country>
<phoneNumber>8646422079</phoneNumber>
</billTo>
<shipTo>
<firstName>David</firstName>
<lastName>Leamy</lastName>
<company>Custom Chemical Corporation</company>
<address>2320 S. Pine Street</address>
<city>Spartanburg</city>
<state>SC</state>
<zip>29732</zip>
<country>United States</country>
</shipTo>
<customerIP></customerIP>
</transactionRequest>
</createTransactionRequest>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment