You need to cancel your Spotify subscription 14 days before the subscription period is over to get the refund amount.