CreditCardSale

Document created by gjsissons on Apr 11, 2016Last modified by gjsissons on May 12, 2016
Version 4Show Document
  • View in full screen mode

The Sale transaction is used for the purchase of goods or services. This type of transaction compares the cardholder’s credit limit to the amount specified in the transaction. If the amount specified is available, the transaction is approved by the credit card issuer and an approval code is returned. If the amount is not available or the transaction is denied for any other reason by the issuer, an error message containing the reason is returned.

 

<CreditCardSale xmlns="https://transaction.elementexpress.com">
    <Credentials>
        <AccountID>INSERT HERE</AccountID>
        <AccountToken>INSERT HERE</AccountToken>
        <AcceptorID>INSERT HERE</AcceptorID>
    </Credentials>
    <Application>
        <ApplicationID>INSERT HERE</ApplicationID>
        <ApplicationVersion>1.0</ApplicationVersion>
        <ApplicationName>Express.CSharp</ApplicationName>
    </Application>
    <Terminal>
        <TerminalID>01</TerminalID>
        <CardholderPresentCode>2</CardholderPresentCode>
        <CardInputCode>5</CardInputCode>
        <TerminalCapabilityCode>3</TerminalCapabilityCode>
        <TerminalEnvironmentCode>2</TerminalEnvironmentCode>
        <CardPresentCode>2</CardPresentCode>
        <MotoECICode>1</MotoECICode>
        <CVVPresenceCode>1</CVVPresenceCode>
    </Terminal>
    <Card>
        <CardNumber>5499990123456781</CardNumber>
        <ExpirationMonth>12</ExpirationMonth>
        <ExpirationYear>19</ExpirationYear>
    </Card>
    <Transaction>
        <TransactionAmount>6.55</TransactionAmount>
        <MarketCode>7</MarketCode>
    </Transaction>
</CreditCardSale>

 

Next: CreditCardAuthorization

Return to the Express Transaction Examples

Attachments

    Outcomes