A way to send money to specific players?

Currently working on an Economy Datapack. I've been stuck on making a way for players to send money to other players from there "bank scoreboard." Since you can't specify the player, and amount through chat input, I've thought of another idea: 1. Run /trigger pay set/add {$} 2. Then chat pops up with list of players that are currently on the server. player_1 player_2 player_3 ... 3. You can then click on one of these players and it will send the amount of money you set above, after a confirmation, to that player. The problem I'm having: I gone through many different variations, but they all have one problem. It requires to me to have a separate tell-raw, and pay function for each player or player_id I assigned. So I eihter have to have a limit on how many people use the datapack on the server, or have to make a specific function for each player thats using the datapack. Questions: - What would be a good way to implement a /pay feature? - How would I go about making the /pay feature I thought of above? Other Info: - Java 1.20.1
Continue to help post