Only amazon account having Apay ICICI Card linked should have prime right for 5% - Yes
if we buy through that card from some other amazon account we would still get 5% - Yes
But If your Amazon account doesn't have prime & you will buy from someone else Amazon account which have prime, you will get only 3%.