Targetting a specific wallet when sending commands using RPC commands to bitcoind
When more than one wallet is available, the wallet is selected by sending the RPC requests to &lt;host:port&gt;/wallet/&lt;wallet_name&gt;.

You might have to play around with the exact form, I suspect it might be &lt;host:port&gt;/wallet/wallets/walletA in your case, or &lt;host:port&gt;/wallets/walletA, or &lt;host:port&gt;/wallet/walletA.