I am trying to understand how the Bridge server gets notified by Horizon after a payment has been completed. Assuming an Anchor set up with Bridge, Compliance and Federation servers, my understanding is the following:
Client makes a GET request to a certain application endpoint for a payment
Application endpoint calls the Bridge server by making a POST:/payment request
Bridge server will then pass the information by making a POST:/send request to Compliance server endpoint
Compliance server gets the Auth endpoint from the Federation server of the receiving institution
Compliance server will then make a POST:/ (Auth endpoint of the receiving institution) to clear the transaction
Receiving institution replies
Compliance server replies back to Bridge Server with the transaction
Bridge server receives the transaction and submits it to Horizon
Horizon replies
So, which endpoint is used by Horizon to notify the Bridge server?