Skip to main content

How to Identify Messages

Below is an example of the header for an Extended Transaction Event message formatted in JSON sent HTTP Post to http://127.0.0.1/test URL.

Review the three custom headers starting with “X-JHA” below that EPS includes. These are used to help your organization to identify what is being sent and how to verify it is coming from EPS.

X-JHA-Signature: Calculated hash of the {body} using the HMAC algorithm chosen.

X-JHA-MessageType: Message type sent in the body.

X-JHA-SubscriptionId: Can be used to route messages based upon different subscriptions.

POST /Test HTTP/1.1

X-JHA-Signature: RKmhWfGktVq6fhMlKVCz8yhJ8dKLI0rgGKQHQLz5qHE=
X-JHA-MessageType: ExtendedTransactionEvent
X-JHA-SubscriptionId: 489
Content-Type: application/json; charset=utf-8
Content-Length: 1016
Host: 127.0.0.1

{BODY}