My service communicates with a server that manages accounts.
- Each Account has a cap on the number of operations performed per month.
- I want to circumvent this cap by creating new accounts that are related via a scheme.
This is how it should work:
- User creates an account "denzel" via MyService.
- MyService in turn, proxies the account creation to 3rdPartyServer
- User "denzel" checks his credit and MyService returns $45 (default cap per user account).
- User "denzel" buys additional $45 via MyService. MyService surreptitiously creates (in the background) account A in 3rdPartyServer but manages the relation between "denzel" & "A".
- User "denzel" checks his credit and MyService returns $90
A dumbass way to manage the relation is to append a count to the original userid. e.g. "denzel1", "denzel2" etc.. This does not work we don't want to prevent other users from choosing denzel1" or others in the series for that matter.
Has anyone faced this problem and has a solution to share ?