I have read the guides, check on other places, And I'm still confused about how federation works.
Lets say I monitor for deposits from our clients. We generate a unique ID (as a memo) and tell them to deposit to the address <uniqueID>*ourDomain.com
. From that point I do not understand how the flow works.
Who calls the federation server (or service) to parse the address to an accountID with its memo? And if it's a request by our side to the federation server, do we take the response and use the account and memo in the request for a payment? What am I missing?