Communication Models
  • 10 Jan 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Communication Models

  • Dark
    Light
  • PDF

Article summary

You can interact with the SmartRoute system using the following three communication models based on the message type:

Redirection communication model

  1. Your site issues the HTTP redirection command to the customer (cardholder) browser. 
  2. The customer gets redirected to the SmartRoute system site, where the customer is requested to provide some input complete with the cycle. 
  3. After conducting the payment, the SmartRoute system redirects the customer back to your site based on your predefined URL. 

Direct Post communication model 

  1. You will fully maintain the payment process without handling and storing sensitive payment data. 
  2. The site passes the sensitive data entered by the customer using HTTP redirection to the SmartRoute system without going through your server. 
  3. You have to prepare the request parameters and their corresponding secure hash in the form specified in (Appendix B: Secure Hash - Direct Post Payment) which will be then submitted to SmartRoute without including the sensitive data in the secure hash.

As all the inputs have already passed through your site, no request is sent to the customer for any input to complete the cycle. After conducting the payment, the SmartRoute system redirects the customer back to your site based on your predefined URL.

Note:  In case of a Card Payment sensitive data is Card Number, Cardholder Name, Expiry Date, and Security Code.

API  Model

Your site collects all the needed information from the customer (cardholder) and sends HTTP POST call from your side to the SmartRoute system (without using the customer browser).  SmartRoute system processes the request and responds to you with a response. Therefore, your system can process the received response.