Yes cashback would get credited to the account which was used for the card application and irrespective of the Amazon account the card is being used into, cashback would always get credited to the account mapped with card. What it essentially means is, even if the card is used on a non Prime account, you would get 5% cashback if the linked account is a Prime one.