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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.