Transaction Optimisation Integration

Testing Your Integration

You can test your transaction optimisation integration either by:

  • Sending a request with the paymentMethod.cardBin field set to a special test value.
  • Sending a request with the customer.email field set to a special test value.

These requests will always produce the same corresponding recommendation. You can then ensure your system handles the response accordingly.

The test card BINs and email addresses are shown in the table below:

Field Name Field Value Recommendation Example Response
Card BIN "000001" Authenticate with no SCA exemption "action": "AUTHENTICATE"
Email "qa-force-txopt-authenticate@ravelin.com"
Card BIN "000002" Authorise with no SCA exemption "action": "AUTHORISE"
Email "qa-force-txopt-authorise@ravelin.com"
Card BIN "000005" Authenticate with Transaction Risk Analysis exemption "action": "AUTHENTICATE"
"exemption": "TRANSACTION_RISK_ANALYSIS"
Email "qa-force-txopt-authenticate-tra@ravelin.com"
Card BIN "000006" Authorise with Transaction Risk Analysis exemption "action": "AUTHORISE"
"exemption": "TRANSACTION_RISK_ANALYSIS"
Email "qa-force-txopt-authorise-tra@ravelin.com"
Card BIN "000007" Authorise with Low Value exemption "action": "AuTHORISE"
"exemption": "LOW_VALUE"
Email "qa-force-txopt-authorise-lowvalue@ravelin.com"

Next steps

Learn how to correctly handle transaction optimisation errors

Feedback

© Ravelin Technology Ltd. All rights reserved