Stellar Docs are great, but I feel they miss the content for bringing all the servers together.
If an entity is acting as a custodian on behalf of their users and uses a Hot/Cold wallet architecture to manage funds. What is the best way for this entity to allow payments to its users?
The current architecture I envision would include the entity using a federation and bridge server with its internal SQL Tables. They entity would make public the format for friendly IDs (phone number, fist_last), would then receive federation requests at something like "https://www.entity_org.com:8002/federation?q=friendly_id*entity_org.com". This request would return a JSON payload with the UUID of the user in the internal user table of the entity.
The payer would then send a payment to the entity's public key and include the UUID in the memo field.
Is this a proper architecture? Feedback is strongly welcomed.