Setting up the callbacks server

The callbacks server implements a set of endpoints that can be called by the other components of the bank infrastructure to fetch data from or update data to the bank's internal databases.

It implements the following endpoints:

  • /compliance/fetch_info: Fetches the customer's name, address, and date of birth when provided the friendlyID of the customer from the users table
  • /compliance/sanction: Validates whether the sender's financial institution is sanctioned to send transactions from the sanctions table
  • /compliance/ask_user: Checks whether the receiving bank will send the beneficiary's KYC details to the sending bank (fetch_info is then called to fetch the details)
  • /receive: Captures details about received ...

Get Blockchain Development for Finance Projects now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.