Previous Topic: SWIFT Data ProtocolNext Topic: Web Services Bridge Data Protocol


SWIFT Conversations

To generate a session key for SWIFT transactions, the SWIFT data protocol extracts information from the message body. The protocol uses the following rules to extract the SWIFT message reference (mesg_ref) and deal reference (deal_ref), then combines them to form the session key.

  1. If field 70E is found in the form :SPRO///xxxREF/<mesg_ref>/<deal_ref>, they are extracted from here.
  2. If field 20C is found in the form :RELA//<mesg_ref>, and a second field 20C is found in the form :TRRF//<deal_ref>, they are extracted from here.
  3. If field 26H is found in the form <msg_ref>/<deal_ref>, they are extracted from here.

The data protocol applies these rules in order. If one of them is satisfied, it creates the session key in the form <message ref>/<deal ref>. If none of the rules is satisfied, the data protocol treats the transaction as stateless and it does not create a session key.