The processing request:
<SloklyRequest version="1.0" mode="live"> <Account> <Username>example</Username> <Password>example</Password> </Account> <Transaction type="payment"> <UsageLabel /> <InterfaceID /> <MerchantID>123456</MerchantID> <Payment> <SecureAuthentication mode="enabled"> <CallbackURL><![CDATA[https://www.example.com/processing/redirect/173324]]></CallbackURL> </SecureAuthentication> <Details> <Amount>33700</Amount> <Currency>USD</Currency> <MaxCommission /> </Details> <CreditCard> <Number>4000000000000000</Number> <ExpirationYear>2016</ExpirationYear> <ExpirationMonth>10</ExpirationMonth> <SecurityCode>444</SecurityCode> <HolderFirstName>Oliver</HolderFirstName> <HolderLastName>van Smithington</HolderLastName> </CreditCard>
</Payment> <FraudDetection>...</FraudDetection> </Transaction> </SloklyRequest>
Notes: 1. The Currency in the Details node must be a supported processing currency for the interface you are using. if not, you will receive an error. 2. If the processing commission is larger than the MaxCommission value, you will receive an error, and can re-send the same request with a higher value for this field 3. SecureAuthentication mode allows better control over the fraud security. enabled means that a secure authentication might take place according the the fraud detection module recommendations (if applicable), while required means that a secure authentication must be performed. by default, the enabled mode will not trigger a secure authentication process unless an external module (such as a fraud detection module) will recommend using this feature. please note that not all processors and not all credit cards support secured authentication, so using this field might result in an error returned. 4. there is an additional functionality for fraud detection that can be passed as part of this request under the Transaction node, see the next section for details 5. Passing Transaction @type="payment" will try to charge the user immediately for the full amount. |
SLOKLY PROCESSING >