API Samples and Demo

CreditCard Sale XML

XML Request

                            
    <transaction-request>
        <version>3.1.1.1</version>
        <verification>
            <merchantId>your merchant id</merchantId>
            <merchantKey>your key</merchantKey>
        </verification>
        <order>
            <sale>
                <referenceNum>846392232</referenceNum>
                <ipAddress>123.123.123.123</ipAddress>
                <invoiceNumber>123456</invoiceNumber>
                <billing>
                    <name>Tom Customer</name>
                    <address>123 Main Street</address>
                    <address2>Apt 36</address2>
                    <city>Moorpark</city>
                    <state>CA</state>
                    <postalcode>91307</postalcode>
                    <country>US</country>
                    <phone>818-123-1234</phone>
                    <email>customer@example.com</email>
                </billing>
                <shipping>
                    <name>Tom Customer</name>
                    <address>123 Main Street</address>
                    <address2>Apt 36</address2>
                    <city>Moorpark</city>
                    <state>CA</state>
                    <postalcode>91307</postalcode>
                    <country>US</country>
                    <phone>818-123-1234</phone>
                    <email>customer@example.com</email>
                </shipping>
                <transactionDetail>
                    <payType>
                        <creditCard>
                            <number>4111111111111111</number>
                            <expMonth>12</expMonth>
                            <expYear>2028</expYear>
                            <cvvInd></cvvInd>
                            <cvvNumber>123</cvvNumber>
                            <track1Data></track1Data>
                            <track2Data></track2Data>
                            <eCommInd>eci</eCommInd>
                            <signatureImage></signatureImage>
                        </creditCard>
                    </payType>
                </transactionDetail>
                <payment>
                    <chargeTotal>32.00</chargeTotal>
                    <salesTaxTotal>1.23</salesTaxTotal>
                    <shippingTotal>3.00</shippingTotal>
                    <currencyCode>USD</currencyCode>
                </payment>
            </sale>
        </order>
    </transaction-request>
                            
                        

XML Response

                            
    <transaction-response>
        <authCode>432582</authCode>
        <orderID>C0A8C866:0119C7DF2702:E1D7:00E3FDA2</orderID>
        <referenceNum>846392232</referenceNum>
        <transactionID>32523465462</transactionID>
        <transactionTimestamp>1210664602</transactionTimestamp>
        <responseCode>0</responseCode>
        <responseMessage>AUTHORIZED</responseMessage>
        <avsResponseCode>YYY</avsResponseCode>
        <cvvResponseCode>M<cvvResponseCode>
        <processorCode>A</processorCode>
        <processorMessage>APPROVED</processorMessage>
        <processorTransactionID>262</processorTransactionID>
        <processorReferenceNumber>111221266<processorReferenceNumber>
        <partiallyApprovedAmount>12.99</partiallyApprovedAmount>
        <accountBalance>35.99</accountBalance>
        <errorMessage/>
    </transaction-response>