The Express processing platform supports a variety of different types of transactions for multiple payment types. You can code Express payment transactions in your language of choice. Examples are available at http://github.com/elementps.
DebitCardSale
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 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.
<DebitCardSale 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> <PINBlock>encrypted PIN block</PINBlock> <KeySerialNumber>encrypted PIN block</KeySerialNumber> <Track2Data>Track 2 data from card</ Track2Data> </Card> <Transaction> <TransactionAmount>6.55</TransactionAmount> <MarketCode>7</MarketCode> </Transaction> </DebitCardSale>
DebitCardReversal
The most common type of Reversal available for Debit Transactions is a Communication/System Reversal. A Communications/System Reversal is generated when there is a transmission problem delivering the response back to the POS. It is the transaction requestor’s responsibility to generate a Reversal transaction for all transactions that do not receive responses.
A sample DebitCardReversal transaction is shown below:
<DebitCardReversal 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>Account number on card</CardNumber> <Track2Data>Track 2 data from card</Track2Data> <EncryptedTrack2Data>Encrypted Track 2 data from card</EncryptedTrack2Data> <CardDataKeySerialNumber>Card data key SN</CardDataKeySerialNumber> </Card> <Transaction> <ReversalType>0</ReversalType> <TransactionAmount>6.55</TransactionAmount> <MarketCode>7</MarketCode> </Transaction> </DebitCardReversal>