mangopay2-nodejs-sdk
mangopay2-nodejs-sdk copied to clipboard
List UBO Declarations for a user in `Users`?
I was about to open an issue as I did not find a way to list all UBO Declarations for a User (this endpoint).
I then gave a last try and saw that this one is listed in UboDeclarations
which is odd because all other entities that can be attached to users are in the Users
namespace:
-
Users.getTransactions
-
Users.getKycDocuments
-
Users.getBankAccounts
-
Users.getWallets
- ...
It could be a good idea to either put those ones above into their own entity namespace (ie KycDocuments.getUserKycDocuments()
) or put the UboDeclarations in the Users
namespace (ie Users.getUboDeclarations
)
What do you think?
Hello @jgabriele,
Thanks for the feedback. We try to keep the same structure for all SDKs. But we are going to think about it.