Created
November 4, 2015 21:40
-
-
Save GJSissons/8bb141d4e2bdcc4e75e2 to your computer and use it in GitHub Desktop.
Express API CreditCardReturn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl https://certtransaction.elementexpress.com \ | |
-H "Content-Type: text/xml; charset=UTF-8" \ | |
-X POST \ | |
-d \ | |
'<?xml version="1.0"?> | |
<CreditCardReturn xmlns="https://transaction.elementexpress.com"> | |
<Credentials> | |
<AccountID> as obtained in step 2</AccountID> | |
<AccountToken> as obtained in step 2</AccountToken> | |
<AcceptorID> as obtained in step 2</AcceptorID> | |
</Credentials> | |
<Application> | |
<ApplicationID> as obtained in step 2</ApplicationID> | |
<ApplicationName>MyExpressTest</ApplicationName> | |
<ApplicationVersion>1.0.0</ApplicationVersion> | |
</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> | |
<Transaction> | |
<TransactionAmount>10.00</TransactionAmount> | |
<MarketCode>7</MarketCode> | |
<TransactionID>2005663687</TransactionID> | |
</Transaction> | |
</CreditCardReturn>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment