Appendix E :Webhooks

E.1 Introduction

The Webhook option in OFSLL extends the support of interfacing with third-party applications by sending REST API based notifications of changes through system generated Webhook event actions.

In the Webhook integrated model, it is the server to client direction of conversation in which the server pushes data to the client that hosts an HTTP based API endpoint. OFSLL uses the existing weblogic key-store to register third-party application credentials such as User Name, Password and SSL/TSL Certificate.

E.2 Webhook Architecture

As per the above image:

E.3 Webhook Workflow

As per the above workflow:

E.4 Webhook Message Format

Webhook Events are published in json message format. This message content can be customized using Response User Defined Tables. For more information on json message format, refer to Events section.

To send/receive data between OFSLL and external systems Request/Response entities are used. OFSLL allows to send Header/Body details for data transfer with each Request/Response.

As indicated below,

E.5 Processing Webhook Request

E.6 Webhook Support for OBRH Integration

OFSLL supports integration with OBRH (Oracle Banking Routing Hub) which is used to Authenticate, Invoke and Route request from Source to Destination using SOAP/Rest Api.

Below is a representation of OBRH process indicating how data from source (Service Consumer) is processed to destination (Service Provider) using OBRH gateway which supports transforming, routing, authenticating the request and response.

For details about the request and response format, refer to ‘Webhook Message Format’ section.

E.6.1 OBRH Interfacing support

Webhook in OFSLL facilitates to send Event outcome data to external system. If the external system is OBRH which is the endpoint to receive and process Event data payload from OFSLL, ensure that the Authentication Mode in Webhook is configured to ORACLE BANKING ROUTING HUB. For more information, refer to ‘Webhook Definition’ section.

Below is an illustration indicating the flow of data between OFSLL and OBRH.

Below are some of the example of Attribute Values that can be defined for OBRH headers:

Attribute Value

Example

TOKEN REQUEST HEADER

  • appId

REQUEST HEADER

  • entityId
  • appId
  • branchCode
  • userId
  • SERVICE-CONSUMER
  • SERVICE-CONSUMER-SERVICE

Note

OBRH currently does not support return of customizing HTTP header [X-Hmac] because of which enable of Verified indicator using Test button cannot be done. Verification func­tionality should be done manually/via script and needs to be automated using OBRH once new feature of customizing HTTP header is enabled.