Request Simulation

To simulate an ISO request in Hostbox

  1. Select an ISO type Hostbox Collection.
  2. Create a request and navigate to the request.
  3. Configure the request providing data like body, method etc.
  4. Start the Hostbox.
  • A valid Spec must be present to start an ISO Hostbox.
  • PORT is dynamically assigned to Hostbox ISO requests.
  • To know more about Spec please follow : Spec

Example : We have created an ISO collection named UPI and within this collection we will simulate a Transaction request which request & response body data is shown below :

//Request Body
<isomsg>
  <header/>
  <field id="0" value="0200"/>
  <!-- MTI (Message Type Identifier) for request -->
  <field id="3" value="310000"/>
  <!-- Processing Code: 310000 for UPI Debit -->
  <field id="4" value="000000010000"/>
  <!-- Transaction Amount: 100.00 (amount in cents) -->
  <field id="11" value="123456"/>
  <!-- System Trace Audit Number -->
  <field id="13" value="1229"/>
  <!-- Local Transaction Date: December 29 -->
  <field id="41" value="TERM1234"/>
  <!-- Terminal ID -->
  <field id="42" value="MERCH1234567890"/>
  <!-- Merchant ID -->
  <field id="49" value="356"/>
  <!-- Currency Code: 356 for Indian Rupees -->
</isomsg>

//Response Body
<isomsg>
  <header/>
  <field id="0" value="0210"/>
  <!-- MTI (Message Type Identifier) for response -->
  <field id="3" value="310000"/>
  <!-- Processing Code: 310000 for UPI Debit -->
  <field id="4" value="000000010000"/>
  <!-- Transaction Amount: 100.00 (amount in cents) -->
  <field id="11" value="123456"/>
  <!-- System Trace Audit Number -->
  <field id="13" value="1229"/>
  <!-- Local Transaction Date: December 29 -->
  <field id="39" value="000"/>
  <!-- Response Code: 00 indicates success -->
  <field id="41" value="TERM1234"/>
  <!-- Terminal ID -->
  <field id="42" value="MERCH1234567890"/>
  <!-- Merchant ID -->
  <field id="49" value="356"/>
  <!-- Currency Code: 356 for Indian Rupees -->
</isomsg>

Execute ISO Request

To test/ececute an ISO request:

  1. Copy the URL & Port of the desired ISO request within the Hostbox.
  2. Go to the API module and Paste the Hostbox request's URL.
  3. Provide any required data (body, method).
  4. Send the request.
  5. Compare the actual response to the expected response.
  • Make sure to start the Hostbox after simulating a request.
  • User can also create Collections and organize the simulated requests in API module for future uses.
  • Now follow above steps and execute this above simulated request in API module. User will get simulated response body as response after request execution.

By following these steps, you can create and execute ISO requests within the Hostbox, enabling you to test and validate your ISO-based integrations effectively.