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:

  1. Client makes a GET request to a certain application endpoint for a payment

  2. Application endpoint calls the Bridge server by making a POST:/payment request

  3. Bridge server will then pass the information by making a POST:/send request to Compliance server endpoint

  4. Compliance server gets the Auth endpoint from the Federation server of the receiving institution

  5. Compliance server will then make a POST:/ (Auth endpoint of the receiving institution) to clear the transaction

  6. Receiving institution replies

  7. Compliance server replies back to Bridge Server with the transaction

  8. Bridge server receives the transaction and submits it to Horizon

  9. Horizon replies

So, which endpoint is used by Horizon to notify the Bridge server?


1 Answer 1


Bridge server is streaming /accounts/{receiving-account-id}/payments endpoint of Horizon server. When there is a new payment with a valid params (asset code) Bridge will call the /receive callback in Compliance server (if Compliance server is connected) and then will call receive callback defined in Bridge config file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.