Skip to content

Define ISO Server

Raghavendra Balgi edited this page Apr 12, 2020 · 2 revisions

Define an ISO8583 Server

In this below example we define a server 'MyTestIsoServer' using spec 'Iso8583-MiniSpec' which will listen at port 5656. This server will only respond to messages of MTI 1100 (Authorization) messages i.e first four bytes equal '\x31313030' (You can further add more message selectors for 1420, 1200 etc)

  • For messages where amount equals 400, the server will respond with a action code 000 and approval code ISO123
  • For messages where amount is less than 600, the server will respond with action code 100 (Please note that conditions are processed in order, so if amount = 400, the condition amount < 600 is not evaluated)
  • The 'Any' condition is a default condition which will respond with action code 200 when there are no other matches - Please note that Amount field has to be present in the message

Define ISO Server

Clone this wiki locally